File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ function sqlite_activation() {
46
46
$ pl_option = get_option ( $ pl_option_name , array () );
47
47
unset( $ pl_option ['database/sqlite ' ] );
48
48
update_option ( $ pl_option_name , $ pl_option );
49
- remove_action ( 'admin_notices ' , 'perflab_sqlite_plugin_admin_notice ' ); // Remove the PL-plugin admin notices.
50
49
}
51
50
sqlite_plugin_copy_db_file ();
52
51
// WordPress will automatically redirect to the install screen here.
Original file line number Diff line number Diff line change @@ -71,3 +71,6 @@ function sqlite_plugin_admin_notice() {
71
71
);
72
72
}
73
73
add_action ( 'admin_notices ' , 'sqlite_plugin_admin_notice ' ); // Add the admin notices.
74
+
75
+ // Remove the PL-plugin admin notices for SQLite.
76
+ remove_action ( 'admin_notices ' , 'perflab_sqlite_plugin_admin_notice ' );
You can’t perform that action at this time.
0 commit comments