/** * 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); } }
/** * Delete the record after the event has been successfully completed * @param string $key */ protected function processDelete($key) { parent::processDelete($key); }
protected function processDelete($key) { parent::processDelete($key); $this->clearHostgroupMembers($key); }