Ejemplo n.º 1
0
 /**
  * @param CTenant $oTenant
  */
 public function UpdateTenantAdminObject($oTenant)
 {
     $bResult = false;
     $iTenantId = $this->oAdminPanel->TenantId();
     if ($this->oTenantsApi && $oTenant && (0 === $iTenantId || 0 < $iTenantId && $iTenantId === $oTenant->IdTenant)) {
         $bResult = $this->oTenantsApi->UpdateTenant($oTenant);
     }
     return $bResult;
 }