Changeset 1456397
- Timestamp:
- 07/18/2016 12:51:15 PM (10 years ago)
- Location:
- sms-sender/trunk
- Files:
-
- 3 edited
-
includes/hooks/activation.php (modified) (4 diffs)
-
includes/hooks/deactivate.php (modified) (1 diff)
-
smsgw.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sms-sender/trunk/includes/hooks/activation.php
r1229749 r1456397 12 12 `group_name` varchar(120) NOT NULL, 13 13 PRIMARY KEY (`group_id`) 14 ) ;';14 ) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;'; 15 15 $wpdb->query($sql_groups); 16 16 … … 24 24 PRIMARY KEY (`contact_id`) , 25 25 KEY `contact_group_id` (`contact_group_id`) 26 ) ;';26 ) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;'; 27 27 $wpdb->query($sql_contacts); 28 28 … … 34 34 `msg_status` int(1) NOT NULL default \'0\', 35 35 PRIMARY KEY (`msg_id`) 36 ) ;';36 ) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;'; 37 37 $wpdb->query($sql_messages); 38 38 … … 48 48 KEY `send_msg_id` (`send_msg_id`), 49 49 KEY `send_group` (`send_group`) 50 ) ;';50 ) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;'; 51 51 $wpdb->query($sql_messages); 52 52 -
sms-sender/trunk/includes/hooks/deactivate.php
r1229749 r1456397 3 3 defined( 'ABSPATH' ) || die( 'No direct script access allowed!' ); 4 4 5 // DeActivate hook6 global $wpdb;7 //drop tables8 $wpdb->query('DROP TABLE IF EXISTS `'. $wpdb->prefix.'smsgw_groups`');9 $wpdb->query('DROP TABLE IF EXISTS `'. $wpdb->prefix.'smsgw_contacts`');10 $wpdb->query('DROP TABLE IF EXISTS `'. $wpdb->prefix.'smsgw_messages`');11 $wpdb->query('DROP TABLE IF EXISTS `'. $wpdb->prefix.'smsgw_send`');12 13 //delete options14 delete_option('smsgwnet_api_provider');15 delete_option('smsgwnet_api_user');16 delete_option('smsgwnet_api_pass');17 delete_option('smsgwnet_api_tag');18 delete_option('smsgwnet_credit');19 delete_option('smsgwnet_version');20 delete_option('smsgwnet_db_version');21 5 ?> -
sms-sender/trunk/smsgw.php
r1417183 r1456397 3 3 /** 4 4 * @package Smsgwnet 5 * @version 0. 65 * @version 0.7 6 6 */ 7 7 … … 12 12 * Author: Daif Alotaibi 13 13 * Author URI: http://daif.net/ 14 * Version: 0. 614 * Version: 0.7 15 15 * Text Domain: smsgwnet 16 16 * Domain Path: /languages/ … … 21 21 22 22 // define plug-in constants 23 define( 'SMSGW_VERSION', '0. 6' );24 define( 'SMSGW_DB_VERSION', '0. 1' );23 define( 'SMSGW_VERSION', '0.7' ); 24 define( 'SMSGW_DB_VERSION', '0.2' ); 25 25 define( 'SMSGW_FILE', __FILE__ ); 26 26 define( 'SMSGW_PATH', dirname( SMSGW_FILE ));
Note: See TracChangeset
for help on using the changeset viewer.