瀏覽代碼

edit Account

andre 2 年之前
父節點
當前提交
63dfff3cd5
共有 1 個文件被更改,包括 8 次插入8 次删除
  1. 8 8
      app/UI/Client/EmailAccount/Providers/EditAccountDataProvider.php

+ 8 - 8
app/UI/Client/EmailAccount/Providers/EditAccountDataProvider.php

@@ -34,6 +34,14 @@ class EditAccountDataProvider extends BaseDataProvider
      */
      */
     public function read()
     public function read()
     {
     {
+
+        logModuleCall(
+            'kerioEmail',
+            __FUNCTION__,
+            $this->actionElementId,
+            'Debug Error',
+            $this
+        );
         /**
         /**
          * hosting id
          * hosting id
          */
          */
@@ -61,14 +69,6 @@ class EditAccountDataProvider extends BaseDataProvider
             return ['error' => $error->getMessage()];
             return ['error' => $error->getMessage()];
         }
         }
         $api->logout();
         $api->logout();
-
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $this->actionElementId,
-            'Debug Error',
-            $this
-        );
 /*
 /*
         $result = $repository->accounts->getAccountOptionsById($this->actionElementId);
         $result = $repository->accounts->getAccountOptionsById($this->actionElementId);