removed drop table on form deactivate and updatet theme-repo
This commit is contained in:
1 parent
a4a6cb66fd
commit
ee1e5c964d
2 files changed
+2
-3
No files matched your search
@@ -11,7 +11,7 @@ Author URI:
|
|||||||
|
|
||||||
//include_once './studio-blimed-admin.php';
|
//include_once './studio-blimed-admin.php';
|
||||||
register_activation_hook( __FILE__, 'studio_blimed_install' );
|
register_activation_hook( __FILE__, 'studio_blimed_install' );
|
||||||
register_deactivation_hook( __FILE__, 'studio_blimed_uninstall' );
|
//register_deactivation_hook( __FILE__, 'studio_blimed_uninstall' );
|
||||||
|
|
||||||
/** drops table on deactivation TODO : Get backup on deactivation */
|
/** drops table on deactivation TODO : Get backup on deactivation */
|
||||||
|
|
||||||
@@ -20,7 +20,6 @@ function studio_blimed_uninstall() {
|
|||||||
$studio_blimed_table = $wpdb->prefix . "studio_blimed_table";
|
$studio_blimed_table = $wpdb->prefix . "studio_blimed_table";
|
||||||
$wpdb->query("DROP TABLE IF EXISTS $studio_blimed_table ;");
|
$wpdb->query("DROP TABLE IF EXISTS $studio_blimed_table ;");
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Activation of plugin, creates the tables */
|
/** Activation of plugin, creates the tables */
|
||||||
|
|
||||||
function studio_blimed_install() {
|
function studio_blimed_install() {
|
||||||
|
|||||||
Submodule wp-content/themes/studio11 updated: d9c5f8da21...4c81e95d18.
Reference in new issue
Block a user