Changeset 2790885
- Timestamp:
- 09/27/2022 03:47:39 PM (3 years ago)
- Location:
- bots-master/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (3 diffs)
-
app/BotsMaster.php (modified) (2 diffs)
-
views/admin/parts/header.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bots-master/trunk/README.txt
r2718601 r2790885 4 4 Tags: telegram, bot, responder, messaging, mailing, chatbot, chat-bot, chat 5 5 Requires at least: 4.9 6 Tested up to: 5.9.27 Stable tag: 1.0. 06 Tested up to: 6.0.2 7 Stable tag: 1.0.1 8 8 Requires PHP: 7.2 9 9 License: Apache 2.0 … … 38 38 == Uninstall The Plugin == 39 39 40 After the plugin deactivating, all the Plugin data will be **removed permanently**. 40 To uninstall the plugin permanently, follow the next steps: 41 1. Drop the DB table *wx_bot_users*: 42 43 SQL Query: `DROP TABLE IF EXISTS wx_bot_users;` 44 45 2. Remove WP Options: 46 47 `delete_option('telegram_api_token'); 48 delete_option('welcome_message'); 49 delete_option('unknown_message');` 50 51 Done! Now, there is no data of the plugin in DB 41 52 42 53 == How To Use == 43 54 44 ### Collect Su dscribers55 ### Collect Subscribers 45 56 46 57 !!! IMPORTANT !!! … … 98 109 == Changelog == 99 110 111 = 1.0.1 = 112 * The last WP version Checked 113 * Removed uninstall logic - so, if you deactivate then activate the plugin, the all data will be available as before the deactivation 114 100 115 = 1.0 = 101 116 * Initial -
bots-master/trunk/app/BotsMaster.php
r2709170 r2790885 145 145 // Install DB 146 146 DB::query(" 147 CREATE TABLE `" . BotUser::TABLE_NAME . "` (147 CREATE TABLE IF NOT EXISTS `" . BotUser::TABLE_NAME . "` ( 148 148 `provider_id` INT(10) NOT NULL, 149 149 `provider_user_id` VARCHAR(256) NOT NULL COLLATE 'utf8mb4_unicode_ci', … … 171 171 public function pluginDeactivation() 172 172 { 173 Config::delete(Config::TELEGRAM_API_TOKEN);174 Config::delete(Config::WELCOME_MESSAGE);175 Config::delete(Config::UNKNOWN_MESSAGE);176 177 // CleanUp DB178 DB::query('DROP TABLE IF EXISTS `' . BotUser::TABLE_NAME . '`;')179 ->execute();173 // Config::delete(Config::TELEGRAM_API_TOKEN); 174 // Config::delete(Config::WELCOME_MESSAGE); 175 // Config::delete(Config::UNKNOWN_MESSAGE); 176 // 177 // // CleanUp DB 178 // DB::query('DROP TABLE IF EXISTS `' . BotUser::TABLE_NAME . '`;') 179 // ->execute(); 180 180 } 181 181 -
bots-master/trunk/views/admin/parts/header.php
r2709170 r2790885 59 59 60 60 </div> 61 62 <!-- Frill Widget (https://frill.co) --> 63 <script> 64 window.Frill_Config = window.Frill_Config || []; 65 window.Frill_Config.push({ key: 'd2b4e441-41f9-4a6a-9edb-2d5005d21863' }); 66 </script> 67 <script async src="https://widget.frill.co/v2/widget.js"></script> 68 <!-- End Frill Widget -->
Note: See TracChangeset
for help on using the changeset viewer.