|
|
@@ -196,14 +196,6 @@ function cwp7_CreateAccount($params) {
|
|
|
function cwp7_TerminateAccount($params) {
|
|
|
$cwp7 = new cwp7_Admin($params['serverhostname'], $params['serveraccesshash']);
|
|
|
$response = $cwp7->deleteAccount(array('user' => $params['username'], 'email' => $params['clientsdetails']['email']));
|
|
|
-
|
|
|
- logModuleCall(
|
|
|
- 'cwp7',
|
|
|
- __FUNCTION__,
|
|
|
- $params,
|
|
|
- 'debug',
|
|
|
- $response
|
|
|
- );
|
|
|
if($response['status'] == 'Error') {
|
|
|
return 'Error: ' . $response['msj'];
|
|
|
}
|
|
|
@@ -416,7 +408,7 @@ function cwp7_ChangePackage($params) {
|
|
|
'email' => $params['clientsdetails']['email'],
|
|
|
'package' => $params['configoption1'],
|
|
|
'inode' => (int) $params["configoption2"],
|
|
|
- 'limit_nofile' => (int) $params["configoption3"],
|
|
|
+ 'openfiles' => (int) $params["configoption3"],
|
|
|
'processes' => (int) $params["configoption4"],
|
|
|
'server_ips'=> $params["serverip"],
|
|
|
);
|