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', '贴吧云签到报告

贴吧云签到报告

项目内容备注
签到日期[date]当日报告已生成
用户名称[name]您是该站云签用户
报告地址[link]点击链接直达,次日失效
云签站点[SYSTEM_NAME]如有疑问,进站反馈

发自[SYSTEM_NAME]
百度贴吧云签到作者: Kenvix&mokeyjay&FYY
邮件扩展作者:Weltolk

-
'); //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 +?>