Exemplo n.º 1
0
 public function actionLogout()
 {
     UserDB::logout();
     $this->redirect($_SERVER["HTTP_REFERER"]);
 }