From 0bb66f56d8f09a5c60195edd0f0ae8f736f07b8c Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Sat, 4 May 2019 18:00:56 +0200 Subject: [PATCH] Remove call to nonexistent plugin_force_uninstall() This call has been present since manage_plugin_uninstall.php was initially created, but the function has never been defined in Plugin API. Considering that having $t_plugin == null (supposedly meaning that the plugin is not properly registered) is not a normal scenario, it makes more sense to remove the call rather than creating the missing API. Fixes #12961 --- manage_plugin_uninstall.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/manage_plugin_uninstall.php b/manage_plugin_uninstall.php index 856e317c9f..7f1bd8d62c 100644 --- a/manage_plugin_uninstall.php +++ b/manage_plugin_uninstall.php @@ -63,8 +63,6 @@ if( !is_null( $t_plugin ) ) { plugin_uninstall( $t_plugin ); -} else { - plugin_force_uninstall( $f_basename ); } form_security_purge( 'manage_plugin_uninstall' );