Explorar el Código

cleanup pages

andre hace 2 años
padre
commit
8143431134
Se han modificado 1 ficheros con 0 adiciones y 9 borrados
  1. 0 9
      app/UI/Client/EmailAccount/Sections/EditGeneralSection.php

+ 0 - 9
app/UI/Client/EmailAccount/Sections/EditGeneralSection.php

@@ -2,7 +2,6 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Sections;
 
-use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Repository\ClassOfServices;
 use ThurData\Servers\KerioEmail\App\Traits\FormExtendedTrait;
 use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Sections\FreeFieldsSection;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Hidden;
@@ -50,13 +49,5 @@ class EditGeneralSection extends FreeFieldsSection
         $quota->addValidator(new Decimal(0));
         $this->generateDoubleSection([$quota, new Select('unit')]);
 
-        if($productManager->get('cos_name') === ClassOfServices::CLASS_OF_SERVICE_QUOTA)
-        {
-            $field = new Hidden('currentCosId');
-            $this->addField($field);
-
-            $field = new Select('cosId');
-            $this->addField($field);
-        }
     }
 }