diff --git a/weltolk_sign_qq_callback.php b/weltolk_sign_qq_callback.php
index efc1549..767923b 100644
--- a/weltolk_sign_qq_callback.php
+++ b/weltolk_sign_qq_callback.php
@@ -4,12 +4,6 @@
function callback_init()
{
global $m;
- //admin setting
- option::add('weltolk_sign_qq_default_open', 1);
- option::add('weltolk_sign_qq_zone', '+0800');
- option::add('weltolk_sign_qq_title', '【[date]】[name] 的签到报告');
- option::add('weltolk_sign_qq_content', '
贴吧云签到报告贴吧云签到报告
');
//create connect tab
$m->query("CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "weltolk_sign_qq_connect` (
`id` int(255) NOT NULL AUTO_INCREMENT ,
@@ -62,17 +56,13 @@ function callback_inactive()
function callback_remove()
{
- //admin setting
- option::del('weltolk_sign_qq_default_open');
- option::del('weltolk_sign_qq_zone');
- option::del('weltolk_sign_qq_title');
- option::del('weltolk_sign_qq_content');
// plugin_option
option::del('plugin_weltolk_sign_qq');
//user setting
global $m;
+ $m->query("DELETE FROM `" . DB_PREFIX . "users_options` WHERE `name` = 'weltolk_sign_qq_enable'");
$m->query("DROP TABLE IF EXISTS `" . DB_PREFIX . "weltolk_sign_qq_connect`");
$m->query("DROP TABLE IF EXISTS `" . DB_PREFIX . "weltolk_sign_qq_target`");
}
-?>
\ No newline at end of file
+?>