public function doDisableDomainAction($domainid, $params)
 {
     $result = false;
     if (!isset($params['icon'])) {
         $params['icon'] = '';
     }
     if (!isset($params['themeicon'])) {
         $params['themeicon'] = '';
     }
     if (!isset($params['themeicontype'])) {
         $params['themeicontype'] = '';
     }
     if (!empty($params['name'])) {
         if (!empty($params['catalog'])) {
             $tmpquery = $this->domainda->execute('SELECT id FROM domain_panels where name = ' . $this->domainda->formatText($params['name']));
             if ($tmpquery->getNumberRows() > 0) {
                 $tmpperm = new \Innomatic\Desktop\Auth\DesktopPanelAuthorizator($this->domainda, 0);
                 $tmpperm->RemoveNodes($tmpquery->getFields('id'), 'page');
                 $result = $this->domainda->execute('delete from domain_panels where name = ' . $this->domainda->formatText($params['name']));
                 if (!$result) {
                     $this->mLog->logEvent('innomatic.domainpanelcomponent.domainpanelcomponent.dodisabledomainaction', 'In application ' . $this->appname . ', component ' . $params['name'] . ': Unable to remove desktop panel from domain_panels table', \Innomatic\Logging\Logger::ERROR);
                 }
             } else {
                 $result = true;
             }
         } else {
             $result = true;
         }
     } else {
         $this->mLog->logEvent('innomatic.domainpanelcomponent.domainpanelcomponent.dodisabledomainaction', 'In application ' . $this->appname . ', component ' . $params['name'] . ': Name attribute of desktop panel component is empty', \Innomatic\Logging\Logger::ERROR);
     }
     return $result;
 }