File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ function sqlite_activation() {
4646 $ pl_option = get_option ( $ pl_option_name , array () );
4747 unset( $ pl_option ['database/sqlite ' ] );
4848 update_option ( $ pl_option_name , $ pl_option );
49- remove_action ( 'admin_notices ' , 'perflab_sqlite_plugin_admin_notice ' ); // Remove the PL-plugin admin notices.
5049 }
5150 sqlite_plugin_copy_db_file ();
5251 // 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() {
7171 );
7272}
7373add_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