/**
  * Delete the record after the event has been successfully completed
  * @param string $key
  */
 protected function processDelete($key)
 {
     $accountDb = $this->getPlatform()->getDatabase('accounts');
     $accountDb->setType($key, 'user-deleted');
     $deleteProcess = $this->getPlatform()->signalEvent('user-delete', array($key));
     if ($deleteProcess->getExitCode() === 0) {
         parent::processDelete($key);
     }
 }
示例#2
0
 /**
  * Delete the record after the event has been successfully completed
  * @param string $key
  */
 protected function processDelete($key)
 {
     parent::processDelete($key);
 }
示例#3
0
 protected function processDelete($key)
 {
     parent::processDelete($key);
     $this->clearHostgroupMembers($key);
 }