private function _logout($res)
 {
     $logout = UserUtils::logout();
     return $this->makeErrorInfo($res, $logout['message'], array('noError' => 1));
 }
Beispiel #2
0
 public function actionLogout()
 {
     UserUtils::logout();
     $this->redirect(Yii::app()->createAbsoluteUrl('admin/index'));
 }