andre 2 lat temu
rodzic
commit
2289651093

+ 0 - 9
app/UI/Client/EmailAccount/Pages/Accounts.php

@@ -166,15 +166,6 @@ class Accounts extends DataTable implements ClientArea
                 $this->maildomain = $maildomain['id'];
             }
         }
-
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $domains,
-            'Debug Accounts',
-            $this->maildomain
-        );
-
         $productManager = new ProductManager();
         $productManager->loadByHostingId($hosting->id);
 

+ 8 - 0
app/UI/Client/EmailAccount/Providers/AccountDataProvider.php

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