original_string: public function onRemoveTheme()
      {
          if ($themeCode = post('code')) {
  
              ThemeManager::instance()->deleteTheme($themeCode);
  
              Flash::success(trans('cms::lang.theme.delete_theme_success'));
          }
  
          return Redirect::refresh();
      }
code: public function onRemoveTheme()
      {
          if ($themeCode = post('code')) {
  
              ThemeManager::instance()->deleteTheme($themeCode);
  
              Flash::success(trans('cms::lang.theme.delete_theme_success'));
          }
  
          return Redirect::refresh();
      }
code_tokens: public function onRemoveTheme ( ) { if ( $ themeCode = post ( 'code' ) ) { ThemeManager :: instance ( ) -> deleteTheme ( $ themeCode ) ; Flash :: success ( trans ( 'cms::lang.theme.delete_theme_success' ) ) ; } return Redirect :: refresh ( ) ; }
docstring: Deletes a single theme from the system.
  @return void
docstring_tokens: Deletes a single theme from the system .