示例#1
0
 protected function _afterSave()
 {
     parent::_afterSave();
     if ($this->getModel()->useRecursiveIdsCache()) {
         $this->getModel()->getRecursiveIdsCache()->clean();
     }
 }
示例#2
0
 protected function _afterSave()
 {
     parent::_afterSave();
     if ($this->_notifyGlobalUserAdded) {
         $this->sendGlobalUserActivated();
         $this->_notifyGlobalUserAdded = false;
     }
     if ($this->_passwordSet) {
         $this->getModel()->writeLog(array('user_id' => $this->id, 'message_type' => 'user_' . $this->_passwordSet));
         $this->_passwordSet = false;
     }
 }
 protected function _afterSave()
 {
     parent::_afterSave();
     if ($this->_notifyGlobalUserAdded) {
         $this->sendGlobalUserActivated();
         $this->_notifyGlobalUserAdded = false;
     }
     if ($this->_passwordSet) {
         $this->writeLog('user_' . $this->_passwordSet);
         $this->_passwordSet = false;
     }
 }
 protected function _afterSave()
 {
     parent::_afterSave();
     $this->getModel()->removeCache();
 }