From 7a73c6cb979409e044425af0c98d419dc3434490 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 16 May 2019 14:21:57 +0100 Subject: [PATCH] update_db_version --- plugins/woocommerce-admin/includes/class-wc-admin-install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce-admin/includes/class-wc-admin-install.php b/plugins/woocommerce-admin/includes/class-wc-admin-install.php index baa24984c1d..db961290cc8 100644 --- a/plugins/woocommerce-admin/includes/class-wc-admin-install.php +++ b/plugins/woocommerce-admin/includes/class-wc-admin-install.php @@ -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 ); }