|
|
@@ -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);
|
|
|
- }
|
|
|
}
|
|
|
}
|