Kaynağa Gözat

edit Account

andre 2 yıl önce
ebeveyn
işleme
63dfff3cd5

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

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