andre 2 лет назад
Родитель
Сommit
97623cd83b
1 измененных файлов с 7 добавлено и 7 удалено
  1. 7 7
      app/UI/Client/EmailAccount/Forms/EditAccountForm.php

+ 7 - 7
app/UI/Client/EmailAccount/Forms/EditAccountForm.php

@@ -40,13 +40,6 @@ class EditAccountForm extends SortedFieldForm implements ClientArea
 
     public function initContent()
     {
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $this->actionElementId,
-            'Debug Error',
-            $this
-        );
         $this->setFormType(FormConstants::UPDATE);
         $this->setProvider(new EditAccountDataProvider());
         $this->initFields();
@@ -55,6 +48,13 @@ class EditAccountForm extends SortedFieldForm implements ClientArea
 
     public function initFields()
     {
+        logModuleCall(
+            'kerioEmail',
+            __FUNCTION__,
+            $this->actionElementId,
+            'Debug Error',
+            $this
+        );
         $this->addSection(new EditGeneralSection());
 
         $this->addSection(new EditAdditionalSection());