We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eba205 commit 30a74b0Copy full SHA for 30a74b0
1 file changed
deactivate.php
@@ -25,4 +25,4 @@ function sqlite_plugin_remove_db_file() {
25
$wp_filesystem->delete( WP_CONTENT_DIR . '/db.php' );
26
}
27
28
-register_deactivation_hook( __FILE__, 'sqlite_plugin_remove_db_file' ); // Remove db.php file on plugin deactivation.
+register_deactivation_hook( SQLITE_MAIN_FILE, 'sqlite_plugin_remove_db_file' ); // Remove db.php file on plugin deactivation.
0 commit comments