|
@@ -276,32 +276,13 @@ class EditAccountDataProvider extends BaseDataProvider
|
|
|
$productManager = new ProductManager();
|
|
$productManager = new ProductManager();
|
|
|
$productManager->loadByHostingId($hid);
|
|
$productManager->loadByHostingId($hid);
|
|
|
|
|
|
|
|
- /**
|
|
|
|
|
- *
|
|
|
|
|
- * get soap create domain service
|
|
|
|
|
- */
|
|
|
|
|
- $service =(new KerioManager())
|
|
|
|
|
- ->getApiByHosting($hid)
|
|
|
|
|
- ->soap
|
|
|
|
|
- ->service()
|
|
|
|
|
- ->updateAccountPassword()
|
|
|
|
|
- ->setProductManager($productManager)
|
|
|
|
|
- ;
|
|
|
|
|
- /**
|
|
|
|
|
- *
|
|
|
|
|
- * set product manager & form data to service
|
|
|
|
|
- */
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * run service for each id
|
|
|
|
|
- */
|
|
|
|
|
- $service->setFormData($this->formData);
|
|
|
|
|
- $result = $service->run();
|
|
|
|
|
-
|
|
|
|
|
- if(!$result)
|
|
|
|
|
- {
|
|
|
|
|
- return (new HtmlDataJsonResponse())->setMessageAndTranslate($service->getError())->setStatusError();
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ logModuleCall(
|
|
|
|
|
+ 'kerioEmail',
|
|
|
|
|
+ __FUNCTION__,
|
|
|
|
|
+ $this->formData,
|
|
|
|
|
+ 'Debug Error',
|
|
|
|
|
+ $hid
|
|
|
|
|
+ );
|
|
|
|
|
|
|
|
return (new HtmlDataJsonResponse())->setMessageAndTranslate('passwordChangedSuccessfully')->setStatusSuccess();
|
|
return (new HtmlDataJsonResponse())->setMessageAndTranslate('passwordChangedSuccessfully')->setStatusSuccess();
|
|
|
}
|
|
}
|