Changeset 2256:d3c3fa1723ab for admin/plugins.php
- Timestamp:
- 10/04/13 15:00:41 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/plugins.php
r2166 r2256 61 61 $core->plugins->deleteModule($plugin_id,true); 62 62 } 63 64 http::redirect('plugins.php?removed=1'); 63 64 dcPage::addSuccessNotice(__('Plugin has been successfully deleted.')); 65 http::redirect('plugins.php'); 65 66 } 66 67 catch (Exception $e) … … 173 174 # --BEHAVIOR-- pluginAfterAdd 174 175 $core->callBehavior('pluginsAfterAdd', $plugin_id); 175 176 http::redirect('plugins.php?added='.$ret_code); 176 if ($ret_code == 2) { 177 dcPage::addSuccessNotice(__('Plugin has been successfully upgraded')); 178 } else { 179 dcPage::addSuccessNotice(__('Plugin has been successfully installed.')); 180 } 181 http::redirect('plugins.php'); 177 182 } 178 183 catch (Exception $e)
Note: See TracChangeset
for help on using the changeset viewer.