Add the wc_update_400_ prefix to db update routine
The db update routine that resets action scheduler migration status was missing the wc_update_400_ prefix. Doing this for the sake of consistency.
This commit is contained in:
parent
cb90b4d3bc
commit
cd75870267
|
@ -146,7 +146,7 @@ class WC_Install {
|
||||||
'wc_update_product_lookup_tables',
|
'wc_update_product_lookup_tables',
|
||||||
'wc_update_400_increase_size_of_column',
|
'wc_update_400_increase_size_of_column',
|
||||||
'wc_update_400_db_version',
|
'wc_update_400_db_version',
|
||||||
'wc_reset_action_scheduler_migration_status',
|
'wc_update_400_reset_action_scheduler_migration_status',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -2095,7 +2095,7 @@ function wc_update_400_increase_size_of_column() {
|
||||||
/**
|
/**
|
||||||
* Reset ActionScheduler migration status. Needs AS >= 3.0 shipped with WC >= 4.0.
|
* Reset ActionScheduler migration status. Needs AS >= 3.0 shipped with WC >= 4.0.
|
||||||
*/
|
*/
|
||||||
function wc_reset_action_scheduler_migration_status() {
|
function wc_update_400_reset_action_scheduler_migration_status() {
|
||||||
if (
|
if (
|
||||||
class_exists( 'ActionScheduler_DataController' ) &&
|
class_exists( 'ActionScheduler_DataController' ) &&
|
||||||
method_exists( 'ActionScheduler_DataController', 'mark_migration_incomplete' )
|
method_exists( 'ActionScheduler_DataController', 'mark_migration_incomplete' )
|
||||||
|
|
Loading…
Reference in New Issue