This commit is contained in:
Joshua T Flowers 2020-05-08 22:35:06 +03:00 committed by GitHub
parent 88a9f1c415
commit dd8a625e90
2 changed files with 8 additions and 0 deletions

View File

@ -84,3 +84,10 @@ function wc_admin_update_0251_db_version() {
function wc_admin_update_110_remove_facebook_note() { function wc_admin_update_110_remove_facebook_note() {
WC_Admin_Notes::delete_notes_with_name( 'wc-admin-facebook-extension' ); 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' );
}

View File

@ -42,6 +42,7 @@ class Install {
), ),
'1.1.0' => array( '1.1.0' => array(
'wc_admin_update_110_remove_facebook_note', 'wc_admin_update_110_remove_facebook_note',
'wc_admin_update_110_db_version',
), ),
); );