Changeset 11046


Ignore:
Timestamp:
May 25, 2011, 12:16:27 PM (10 years ago)
Author:
patdenice
Message:

feature:2250
Remove useless code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/admin/plugins_list.php

    r11043 r11046  
    8383$plugins->sort_fs_plugins('name');
    8484$merged_extensions = $plugins->get_merged_extensions();
    85 $incompatible_plugins = $plugins->get_incompatible_plugins();
    8685$merged_plugins = false;
    8786
    8887foreach($plugins->fs_plugins as $plugin_id => $fs_plugin)
    8988{
    90   if (isset($incompatible_plugins[$plugin_id])
    91     and $fs_plugin['version'] != $incompatible_plugins[$plugin_id])
     89  if (isset($_SESSION['incompatible_plugins'][$plugin_id])
     90    and $fs_plugin['version'] != $_SESSION['incompatible_plugins'][$plugin_id])
    9291  {
    9392    // Incompatible plugins must be reinitilized
Note: See TracChangeset for help on using the changeset viewer.