예제 #1
0
 public function logout()
 {
     if ($this->getUser()) {
         $this->getDi()->hook->call(new Am_Event_AuthAfterLogout($this->getUser()));
     }
     return parent::logout();
 }
예제 #2
0
파일: Admin.php 프로젝트: grlf/eyedock
 public function logout()
 {
     if ($this->getUserId()) {
         $this->getDi()->adminLogTable->log('Logged out');
     }
     return parent::logout();
 }