Răsfoiți Sursa

emailAccounts

andre 2 ani în urmă
părinte
comite
9b7851131c

+ 0 - 7
app/Http/Client/EmailAccount.php

@@ -26,13 +26,6 @@ class EmailAccount extends AbstractClientController
 
     public function index()
     {
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $this->getWhmcsParamByKey('serverpassword'),
-            'Debug params',
-            $this->getWhmcsParamByKey('serverusername')
-        );
         $productManager = new ProductManager();
         $productManager->loadByHostingId($this->request->get('id'));
 

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

@@ -148,6 +148,13 @@ class Accounts extends DataTable implements ClientArea
          * load hosting
          */
         $hosting = Hosting::where('id', $this->getRequestValue('id'))->first();
+        logModuleCall(
+            'kerioEmail',
+            __FUNCTION__,
+            $this->getWhmcsParamByKey('serverpassword'),
+            'Debug params',
+            $this->getWhmcsParamByKey('serverusername')
+        );
 
         $api = new KerioWhmcs('whmcsKerioEmail', 'Thurdata', '1.0');
         try {