Changeset 10293 for trunk/admin/plugins_list.php
- Timestamp:
- Apr 11, 2011, 12:30:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/plugins_list.php
r10128 r10293 98 98 else 99 99 { 100 $tpl_plugin['STATE'] = ' uninstalled';100 $tpl_plugin['STATE'] = 'inactive'; 101 101 } 102 102 103 103 if (isset($fs_plugin['extension']) and in_array($fs_plugin['extension'], $_SESSION['merged_extensions'])) 104 104 { 105 switch($tpl_plugin['STATE']) 106 { 107 case 'active': $plugins->perform_action('deactivate', $plugin_id); 108 case 'inactive': $plugins->perform_action('uninstall', $plugin_id); 109 } 105 $plugins->perform_action('uninstall', $plugin_id); 110 106 $tpl_plugin['STATE'] = 'merged'; 111 107 $tpl_plugin['DESC'] = l10n('THIS PLUGIN IS NOW PART OF PIWIGO CORE! DELETE IT NOW.'); … … 118 114 $template->append('plugin_states', 'active'); 119 115 $template->append('plugin_states', 'inactive'); 120 $template->append('plugin_states', 'uninstalled');121 116 122 117 if ($merged_plugins)
Note: See TracChangeset
for help on using the changeset viewer.