aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-03-02 19:00:33 +0000
committerpatdenice <patdenice@piwigo.org>2008-03-02 19:00:33 +0000
commit14bfa8a3e6e5fa81fa3eba565a1b696840f351cd (patch)
tree642344a5cc5c404e4b43eefe8b78f9dbbdcb42d9 /admin
parent1283b5ecb1e5e01d9f2ebef555949ac517be89dd (diff)
Another little correction.
git-svn-id: http://piwigo.org/svn/trunk@2244 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-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)
. '&amp;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') ?
'&amp;action=deactivate' : ''
)
. '&amp;upgrade=%2Fupload%2Fextension-' . $fs_plugin['extension']