aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/plugins_update.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/plugins_update.php b/admin/plugins_update.php
index 2e9e22cd5..6017c56db 100644
--- a/admin/plugins_update.php
+++ b/admin/plugins_update.php
@@ -117,8 +117,7 @@ if ($plugins_infos !== false)
. '&plugin=' . $plugin_id
. (
(isset($db_plugins_by_id[$plugin_id])
- and $db_plugins_by_id[$plugin_id]['state'] == 'active'
- and $plugin_id != PLUGINSMANAGER_DIR) ?
+ and $db_plugins_by_id[$plugin_id]['state'] == 'active') ?
'&action=deactivate' : ''
)
. '&upgrade=%2Fupload%2Fextension-' . $fs_plugin['extension']