public function onRemoveTheme()
    {
        if ($themeCode = post('code')) {

            ThemeManager::instance()->deleteTheme($themeCode);

            Flash::success(trans('cms::lang.theme.delete_theme_success'));
        }

        return Redirect::refresh();
    }
public function onRemoveTheme()
    {
        if ($themeCode = post('code')) {

            ThemeManager::instance()->deleteTheme($themeCode);

            Flash::success(trans('cms::lang.theme.delete_theme_success'));
        }

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