|
|
@@ -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;
|
|
|
}
|
|
|
}
|