update_db_version
This commit is contained in:
parent
97e980cf02
commit
7a73c6cb97
|
@ -69,7 +69,7 @@ class WC_Admin_Install {
|
||||||
self::create_tables();
|
self::create_tables();
|
||||||
self::create_events();
|
self::create_events();
|
||||||
self::create_notes();
|
self::create_notes();
|
||||||
self::update_wc_admin_version();
|
self::update_db_version();
|
||||||
|
|
||||||
delete_transient( 'wc_admin_installing' );
|
delete_transient( 'wc_admin_installing' );
|
||||||
|
|
||||||
|
@ -250,7 +250,7 @@ class WC_Admin_Install {
|
||||||
/**
|
/**
|
||||||
* Update WC Admin version to current.
|
* Update WC Admin version to current.
|
||||||
*/
|
*/
|
||||||
protected static function update_wc_admin_version() {
|
protected static function update_db_version() {
|
||||||
delete_option( self::VERSION_OPTION );
|
delete_option( self::VERSION_OPTION );
|
||||||
add_option( self::VERSION_OPTION, WC_ADMIN_VERSION_NUMBER );
|
add_option( self::VERSION_OPTION, WC_ADMIN_VERSION_NUMBER );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue