andre 7 месяцев назад
Родитель
Сommit
c245a88914
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      siteBuilder.php

+ 1 - 3
siteBuilder.php

@@ -782,7 +782,6 @@ function siteBuilder_revSite($params) {
 				'resellerClientAccountId' => $params['serviceid'],	// (required) ID of website/user in your system
 				'username' => $params['serverusername'],	// (optional) authorization username to be used with API endpoint
 				'password' => 'your-secure-password', // (optional) authorization password to be used with API endpoint
-				'more' => true
 			));
 			if (!$res || !is_object($res)) {
 				logModuleCall(
@@ -794,8 +793,7 @@ function siteBuilder_revSite($params) {
 					);
 				return 'Error: Response format error';
 			} else if (isset($res->loginHash) && $res->loginHash) {
-				$result = $api->remoteCall('remove-auth', array(
-					'loginHash' => $res->loginHash,
+				$result = $api->remoteCall('delete-site', array(
 					'domain' => $site
 				));
 				logModuleCall(