Ver Fonte

aliases

andre há 2 anos atrás
pai
commit
6177d04407
1 ficheiros alterados com 10 adições e 10 exclusões
  1. 10 10
      app/UI/Client/EmailAlias/Pages/Aliases.php

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

@@ -141,22 +141,22 @@ class Aliases extends DataTable implements ClientArea
          * hosting model
          */
         $hosting = Hosting::where('id', $hid)->first();
+
+        $accounts =(new KerioManager())
+            ->getApiByHosting($hid)
+            ->soap
+            ->repository()
+            ->accounts
+            ->getByDomainName($hosting->domain);
+
         logModuleCall(
             'kerioEmail',
             __FUNCTION__,
             $hosting,
             'Debug Error',
-            $hid
+            $accounts
         );
 
-
-//        $accounts =(new KerioManager())
-//            ->getApiByHosting($hid)
-//            ->soap
-//            ->repository()
-//            ->accounts
-//            ->getByDomainName($hosting->domain);
-
-        return FALSE;
+            return FALSE;
     }
 }