From 21ab3b99b20802fe42ecdec3ee7971cb8c1ec553 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 26 Nov 2014 11:10:31 -0500 Subject: [PATCH] no delete at this time --- models/database.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/models/database.php b/models/database.php index 569fdef..e06a967 100644 --- a/models/database.php +++ b/models/database.php @@ -44,10 +44,6 @@ class glm_members_models_database GLM_MEMBERS_PLUGIN_FILE_PATH, array($this, 'install') ); - register_uninstall_hook( - GLM_MEMBERS_PLUGIN_FILE_PATH, - array($this, 'delete') - ); add_action('plugins_loaded', array($this, 'glm_members_update_db_check')); $this->membersTable = $this->wpdb->prefix . GLM_MEMBERS_MEMBER_TABLE; @@ -87,12 +83,4 @@ class glm_members_models_database } } - public function delete() - { - $sql = " - DROP TABLE IF EXISTS {$this->membersTable} "; - $this->wpdb->query($sql); - delete_option(GLM_MEMBERS_VRS_OPTION_NAME); - } - } -- 2.17.1