andre 2 سال پیش
والد
کامیت
317fc997db
1فایلهای تغییر یافته به همراه8 افزوده شده و 8 حذف شده
  1. 8 8
      app/UI/Client/EmailAlias/Pages/Aliases.php

+ 8 - 8
app/UI/Client/EmailAlias/Pages/Aliases.php

@@ -122,14 +122,6 @@ class Aliases extends DataTable implements ClientArea
             $data[] = $tmp;
         }
 
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $data,
-            'Debug Error',
-            $aliases
-        );
-
         $dataProv = new ArrayDataProvider();
         $dataProv->setDefaultSorting('email_alias', 'ASC')->setData($data);
 
@@ -149,6 +141,14 @@ class Aliases extends DataTable implements ClientArea
          * hosting model
          */
         $hosting = Hosting::where('id', $hid)->first();
+        logModuleCall(
+            'kerioEmail',
+            __FUNCTION__,
+            $hosting,
+            'Debug Error',
+            $hid
+        );
+
 
 //        $accounts =(new KerioManager())
 //            ->getApiByHosting($hid)