Ver código fonte

create aliase

andre 2 anos atrás
pai
commit
5fa553554e

+ 8 - 7
app/UI/Client/EmailAlias/Providers/DeleteEmailAliasDataProvider.php

@@ -25,6 +25,14 @@ class DeleteEmailAliasDataProvider extends BaseDataProvider
     {
         $params = json_decode(base64_decode($this->actionElementId), true);
 
+        logModuleCall(
+            'kerioEmail',
+            __FUNCTION__,
+            $this->actionElementId,
+            'Debug Error',
+            $params
+        );
+
         $this->data['id'] = $params['accId'];
         $this->data['alias'] = $params['alias'];
     }
@@ -47,13 +55,6 @@ class DeleteEmailAliasDataProvider extends BaseDataProvider
         $productManager = new ProductManager();
         $productManager->loadByHostingId($hid);
 
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $this->actionElementId,
-            'Debug Error',
-            $this
-        );
 
         return (new HtmlDataJsonResponse())->setMessageAndTranslate('emailAliasHasBeenDeleted')->setStatusSuccess();
     }