update_db_version

This commit is contained in:
Mike Jolley 2019-05-16 14:21:57 +01:00
parent 97e980cf02
commit 7a73c6cb97
1 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ class WC_Admin_Install {
self::create_tables();
self::create_events();
self::create_notes();
self::update_wc_admin_version();
self::update_db_version();
delete_transient( 'wc_admin_installing' );
@ -250,7 +250,7 @@ class WC_Admin_Install {
/**
* Update WC Admin version to current.
*/
protected static function update_wc_admin_version() {
protected static function update_db_version() {
delete_option( self::VERSION_OPTION );
add_option( self::VERSION_OPTION, WC_ADMIN_VERSION_NUMBER );
}