public function onRemovePlugin()
    {
        if ($pluginCode = post('code')) {
            PluginManager::instance()->deletePlugin($pluginCode);
            Flash::success(Lang::get('system::lang.plugins.remove_success'));
        }

        return Redirect::refresh();
    }
public function onRemovePlugin()
    {
        if ($pluginCode = post('code')) {
            PluginManager::instance()->deletePlugin($pluginCode);
            Flash::success(Lang::get('system::lang.plugins.remove_success'));
        }

        return Redirect::refresh();
    }
public function onRemovePlugin ( ) { if ( $ pluginCode = post ( 'code' ) ) { PluginManager :: instance ( ) -> deletePlugin ( $ pluginCode ) ; Flash :: success ( Lang :: get ( 'system::lang.plugins.remove_success' ) ) ; } return Redirect :: refresh ( ) ; }
Rollback and remove a single plugin from the system.
@return void
Rollback and remove a single plugin from the system .