public function executeRemovedomain($eventData) { $null = null; $domain = new \Innomatic\Domain\Domain(\Innomatic\Core\InnomaticContainer::instance('\\Innomatic\\Core\\InnomaticContainer')->getDataAccess(), $eventData['domainid'], $null); if ($domain->Remove()) { $this->status = $this->localeCatalog->getStr('domainremoved_status'); } else { $this->status = $this->localeCatalog->getStr('domainnotremoved_status'); } $this->setChanged(); $this->notifyObservers('status'); }