|
@@ -163,6 +163,15 @@ function siteBuilder_TerminateAccount($params) {
|
|
|
function siteBuilder_SuspendAccount($params) {
|
|
function siteBuilder_SuspendAccount($params) {
|
|
|
$siteBuilder = new ApiClient(getSiteBuilderApiURL($params), $params['serveraccesshash']);
|
|
$siteBuilder = new ApiClient(getSiteBuilderApiURL($params), $params['serveraccesshash']);
|
|
|
$response = $siteBuilder->disableprod($params['domain'],$params['username']);
|
|
$response = $siteBuilder->disableprod($params['domain'],$params['username']);
|
|
|
|
|
+
|
|
|
|
|
+ logModuleCall(
|
|
|
|
|
+ 'siteBuilder',
|
|
|
|
|
+ __FUNCTION__,
|
|
|
|
|
+ $params,
|
|
|
|
|
+ 'Debug',
|
|
|
|
|
+ $response
|
|
|
|
|
+ );
|
|
|
|
|
+
|
|
|
if($response['status'] != 'OK') {
|
|
if($response['status'] != 'OK') {
|
|
|
return 'Error: ' . $response['error_msg'];
|
|
return 'Error: ' . $response['error_msg'];
|
|
|
}
|
|
}
|