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