public function actionClear()
    {
        if ($this->module->podiumCache->flush()) {
            $this->success(Yii::t('podium/flash', 'Cache has been cleared.'));
        } else {
            $this->error(Yii::t('podium/flash', 'Sorry! There was some error while clearing the cache.'));
        }
        return $this->redirect(['admin/settings']);
    }
public function actionClear()
    {
        if ($this->module->podiumCache->flush()) {
            $this->success(Yii::t('podium/flash', 'Cache has been cleared.'));
        } else {
            $this->error(Yii::t('podium/flash', 'Sorry! There was some error while clearing the cache.'));
        }
        return $this->redirect(['admin/settings']);
    }
public function actionClear ( ) { if ( $ this -> module -> podiumCache -> flush ( ) ) { $ this -> success ( Yii :: t ( 'podium/flash' , 'Cache has been cleared.' ) ) ; } else { $ this -> error ( Yii :: t ( 'podium/flash' , 'Sorry! There was some error while clearing the cache.' ) ) ; } return $ this -> redirect ( [ 'admin/settings' ] ) ; }
Clearing all cache.
@return string
Clearing all cache .