Version bump and drop table on remove
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Plugin Name: Go Form Plugin
|
||||
* Description: Form plugin for Go players
|
||||
* Version: 0.02
|
||||
* Version: 0.03
|
||||
* Author: Nikola Petrov
|
||||
*/
|
||||
|
||||
@@ -56,8 +56,8 @@ function go_form_uninstall()
|
||||
$wpdb->query("DROP TABLE IF EXISTS {$wpdb->prefix}go_form_entries");
|
||||
$wpdb->query("DROP TABLE IF EXISTS {$wpdb->prefix}go_form_forms");
|
||||
}
|
||||
//register_uninstall_hook(__FILE__, 'go_form_uninstall');
|
||||
register_deactivation_hook(__FILE__, 'go_form_uninstall');
|
||||
register_uninstall_hook(__FILE__, 'go_form_uninstall');
|
||||
//register_deactivation_hook(__FILE__, 'go_form_uninstall');
|
||||
// ========== Helpers ==========
|
||||
$ranks = [
|
||||
0 => '30k', 1 => '29k', 2 => '28k', 3 => '27k', 4 => '26k',
|
||||
|
||||
Reference in New Issue
Block a user