Exemplo n.º 1
0
 public function actionFlush()
 {
     $this->forcePostRequest();
     \humhub\modules\admin\models\Log::deleteAll();
     $this->redirect(Url::toRoute('index'));
 }
Exemplo n.º 2
0
 public function actionFlush()
 {
     $this->forcePostRequest();
     \humhub\modules\admin\models\Log::deleteAll();
     return $this->redirect(['index']);
 }