Răsfoiți Sursa

emailAccounts

andre 2 ani în urmă
părinte
comite
5ed94704f5

+ 9 - 9
app/UI/Client/EmailAccount/Providers/AccountDataProvider.php

@@ -39,14 +39,6 @@ class AccountDataProvider extends BaseDataProvider
         //todo refactor
         //todo refactor
         $this->data['domain'] = $hosting->domain;
         $this->data['domain'] = $hosting->domain;
 
 
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $this->data['domain'],
-            'Debug Accounts',
-            $this->maildomain
-        );
-
         $lang = di('lang');
         $lang = di('lang');
         $this->availableValues['status'] = [
         $this->availableValues['status'] = [
             Kerio::ACC_STATUS_ACTIVE        => $lang->absoluteT('kerio','account','status','active'),
             Kerio::ACC_STATUS_ACTIVE        => $lang->absoluteT('kerio','account','status','active'),
@@ -102,7 +94,15 @@ class AccountDataProvider extends BaseDataProvider
             ->setProductManager($productManager)
             ->setProductManager($productManager)
             ->setFormData($this->formData);
             ->setFormData($this->formData);
 
 
-        /**
+            logModuleCall(
+                'kerioEmail',
+                __FUNCTION__,
+                $this->data['domain'],
+                'Debug Accounts',
+                $this->maildomain
+            );
+    
+            /**
          *
          *
          * run service
          * run service
          */
          */