Remove unnecessary calls

This commit is contained in:
moon 2022-04-06 15:36:31 -07:00
parent 224985adfb
commit 940fcd3157
2 changed files with 0 additions and 3 deletions

View File

@ -497,8 +497,6 @@ class WC_Install {
*/
private static function update_wc_version() {
update_option( 'woocommerce_version', WC()->version );
// last version of the WCA is 3.3.1. We'll no longer release WCA separately.
update_option( 'woocommerce_admin_version', '3.3.1');
}
/**

View File

@ -196,7 +196,6 @@ class WC_Unit_Tests_Bootstrap {
// Initialize the WC API extensions.
\Automattic\WooCommerce\Internal\Admin\Install::create_tables();
\Automattic\WooCommerce\Internal\Admin\Install::create_events();
WC_Install::install();