Update wcadmin db version after db callback (https://github.com/woocommerce/woocommerce-admin/pull/4323)
This commit is contained in:
parent
88a9f1c415
commit
dd8a625e90
|
@ -84,3 +84,10 @@ function wc_admin_update_0251_db_version() {
|
|||
function wc_admin_update_110_remove_facebook_note() {
|
||||
WC_Admin_Notes::delete_notes_with_name( 'wc-admin-facebook-extension' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Update DB Version.
|
||||
*/
|
||||
function wc_admin_update_110_db_version() {
|
||||
Installer::update_db_version( '1.1.0' );
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@ class Install {
|
|||
),
|
||||
'1.1.0' => array(
|
||||
'wc_admin_update_110_remove_facebook_note',
|
||||
'wc_admin_update_110_db_version',
|
||||
),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue