aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-05-25 10:16:27 +0000
committerpatdenice <patdenice@piwigo.org>2011-05-25 10:16:27 +0000
commitcc2987f366a512f1ed369fe4ba6030648530f16a (patch)
tree8cde9c30e2183048d46a3f437ecfbe48948216e0 /admin
parent639a18d13fcede5f841aa67529ddd91a4acc1b5d (diff)
feature:2250
Remove useless code. git-svn-id: http://piwigo.org/svn/branches/2.2@11046 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/plugins_list.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/admin/plugins_list.php b/admin/plugins_list.php
index eae6f5988..d5db30e35 100644
--- a/admin/plugins_list.php
+++ b/admin/plugins_list.php
@@ -82,13 +82,12 @@ if (isset($_GET['incompatible_plugins']))
$plugins->sort_fs_plugins('name');
$merged_extensions = $plugins->get_merged_extensions();
-$incompatible_plugins = $plugins->get_incompatible_plugins();
$merged_plugins = false;
foreach($plugins->fs_plugins as $plugin_id => $fs_plugin)
{
- if (isset($incompatible_plugins[$plugin_id])
- and $fs_plugin['version'] != $incompatible_plugins[$plugin_id])
+ if (isset($_SESSION['incompatible_plugins'][$plugin_id])
+ and $fs_plugin['version'] != $_SESSION['incompatible_plugins'][$plugin_id])
{
// Incompatible plugins must be reinitilized
unset($_SESSION['incompatible_plugins']);