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:
Rodrigo Primo 2020-03-10 09:27:30 -03:00
parent cb90b4d3bc
commit cd75870267
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ class WC_Install {
'wc_update_product_lookup_tables',
'wc_update_400_increase_size_of_column',
'wc_update_400_db_version',
'wc_reset_action_scheduler_migration_status',
'wc_update_400_reset_action_scheduler_migration_status',
),
);

View File

@ -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.
*/
function wc_reset_action_scheduler_migration_status() {
function wc_update_400_reset_action_scheduler_migration_status() {
if (
class_exists( 'ActionScheduler_DataController' ) &&
method_exists( 'ActionScheduler_DataController', 'mark_migration_incomplete' )