Ejemplo n.º 1
0
 public function logout()
 {
     if ($this->getUser()) {
         $this->getDi()->hook->call(new Am_Event_AuthAfterLogout($this->getUser()));
     }
     return parent::logout();
 }
Ejemplo n.º 2
0
 public function logout()
 {
     if ($this->getUserId()) {
         $this->getDi()->adminLogTable->log('Logged out');
     }
     return parent::logout();
 }