@@ -43,7 +43,7 @@ function vesta_CreateAccount($params) {
4343 curl_setopt ($ curl , CURLOPT_POSTFIELDS , $ postdata );
4444 $ answer = curl_exec ($ curl );
4545
46- logModuleCall ('vesta ' ,'CreateAccount_UserAccount ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' $ postdata ,$ answer );
46+ logModuleCall ('vesta ' ,'CreateAccount_UserAccount ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' . $ postdata ,$ answer );
4747
4848 // Enable ssh access
4949 if (($ answer == 'OK ' ) && ($ params ["configoption2 " ] == 'on ' )) {
@@ -65,7 +65,7 @@ function vesta_CreateAccount($params) {
6565 curl_setopt ($ curl , CURLOPT_POSTFIELDS , $ postdata );
6666 $ answer = curl_exec ($ curl );
6767
68- logModuleCall ('vesta ' ,'CreateAccount_EnableSSH ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' $ postdata ,$ answer );
68+ logModuleCall ('vesta ' ,'CreateAccount_EnableSSH ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' . $ postdata ,$ answer );
6969 }
7070
7171 // Add domain
@@ -89,7 +89,7 @@ function vesta_CreateAccount($params) {
8989 curl_setopt ($ curl , CURLOPT_POSTFIELDS , $ postdata );
9090 $ answer = curl_exec ($ curl );
9191
92- logModuleCall ('vesta ' ,'CreateAccount_AddDomain ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' $ postdata ,$ answer );
92+ logModuleCall ('vesta ' ,'CreateAccount_AddDomain ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' . $ postdata ,$ answer );
9393 }
9494 }
9595
@@ -128,7 +128,7 @@ function vesta_TerminateAccount($params) {
128128 $ answer = curl_exec ($ curl );
129129 }
130130
131- logModuleCall ('vesta ' ,'TerminateAccount ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' $ postdata ,$ answer );
131+ logModuleCall ('vesta ' ,'TerminateAccount ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' . $ postdata ,$ answer );
132132
133133 if ($ answer == 'OK ' ) {
134134 $ result = "success " ;
@@ -165,7 +165,7 @@ function vesta_SuspendAccount($params) {
165165 $ answer = curl_exec ($ curl );
166166 }
167167
168- logModuleCall ('vesta ' ,'SuspendAccount ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' $ postdata ,$ answer );
168+ logModuleCall ('vesta ' ,'SuspendAccount ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' . $ postdata ,$ answer );
169169
170170 if ($ answer == 'OK ' ) {
171171 $ result = "success " ;
@@ -202,7 +202,7 @@ function vesta_UnsuspendAccount($params) {
202202 $ answer = curl_exec ($ curl );
203203 }
204204
205- logModuleCall ('vesta ' ,'UnsuspendAccount ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' $ postdata ,$ answer );
205+ logModuleCall ('vesta ' ,'UnsuspendAccount ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' . $ postdata ,$ answer );
206206
207207 if ($ answer == 'OK ' ) {
208208 $ result = "success " ;
@@ -240,7 +240,7 @@ function vesta_ChangePassword($params) {
240240 $ answer = curl_exec ($ curl );
241241 }
242242
243- logModuleCall ('vesta ' ,'ChangePassword ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' $ postdata ,$ answer );
243+ logModuleCall ('vesta ' ,'ChangePassword ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' . $ postdata ,$ answer );
244244
245245 if ($ answer == 'OK ' ) {
246246 $ result = "success " ;
@@ -278,7 +278,7 @@ function vesta_ChangePackage($params) {
278278 $ answer = curl_exec ($ curl );
279279 }
280280
281- logModuleCall ('vesta ' ,'ChangePackage ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' $ postdata ,$ answer );
281+ logModuleCall ('vesta ' ,'ChangePackage ' ,'https:// ' .$ params ["serverhostname " ].':8083/api/ ' . $ postdata ,$ answer );
282282
283283 if ($ answer == 'OK ' ) {
284284 $ result = "success " ;
0 commit comments