This commit is contained in:
Jeff Stieler 2020-06-24 08:23:35 -04:00 committed by GitHub
parent a3b89c8867
commit 32c99fa4ea
2 changed files with 8 additions and 0 deletions

View File

@ -100,3 +100,10 @@ function wc_admin_update_130_remove_dismiss_action_from_tracking_opt_in_note() {
$wpdb->query( "DELETE actions FROM {$wpdb->prefix}wc_admin_note_actions actions INNER JOIN {$wpdb->prefix}wc_admin_notes notes USING (note_id) WHERE actions.name = 'tracking-dismiss' AND notes.name = 'wc-admin-usage-tracking-opt-in'" );
}
/**
* Update DB Version.
*/
function wc_admin_update_130_db_version() {
Installer::update_db_version( '1.3.0' );
}

View File

@ -46,6 +46,7 @@ class Install {
),
'1.3.0' => array(
'wc_admin_update_130_remove_dismiss_action_from_tracking_opt_in_note',
'wc_admin_update_130_db_version',
),
);