Browse Source

debug mail forwarding

andre 1 năm trước cách đây
mục cha
commit
4af9176dc7
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      app/Libs/Zimbra/Components/Api/Soap/Actions/Account.php

+ 9 - 0
app/Libs/Zimbra/Components/Api/Soap/Actions/Account.php

@@ -106,6 +106,15 @@ class Account extends AbstractAction
             $params[] = new SoapVar('<ns1:a n="' . $key . '">' . $value . '</ns1:a>', XSD_ANYXML);
         }
         $result = $this->connection->request("ModifyAccountRequest", $params);
+
+        logModuleCall(
+            'zimbraEmail',
+            __FUNCTION__,
+            $params,
+            "Debug: Soap",
+            $result
+        );
+
         $this->setLastResult($result);
 
         if($accountData = $result->getResponseBody()['MODIFYACCOUNTRESPONSE']['ACCOUNT'])