andre 2 жил өмнө
parent
commit
49f273477a

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

@@ -207,11 +207,6 @@ class EditAccountDataProvider extends BaseDataProvider
             return ['error' => $error->getMessage()];
         }
 
-/*        if(!$result)
-        {
-            return (new HtmlDataJsonResponse())->setMessageAndTranslate($service->getError())->setStatusError();
-        } */
-
         return (new HtmlDataJsonResponse())->setMessageAndTranslate('emailAccountHasBeenUpdated')->setStatusSuccess();
     }
 
@@ -231,6 +226,14 @@ class EditAccountDataProvider extends BaseDataProvider
         $productManager = new ProductManager();
         $productManager->loadByHostingId($hid);
 
+        logModuleCall(
+            'kerioEmail',
+            __FUNCTION__,
+            $this->formData['status'],
+            'Debug UpdateStatus',
+            $this->formData['id']
+        );
+
         /**
          * return success
          */