@@ -27,8 +27,8 @@ discard block |
||
27 | 27 | * status -> Error, msj -> Account already exists. |
28 | 28 | */ |
29 | 29 | public function createAccount(string $domain, string $user, string $pass, string $email, string $server_ips, |
30 | - string $package = 'default', int $inode = 0, int $limit_nproc = 40, int $limit_nofile = 150, |
|
31 | - bool $autossl = false, bool $encodepass = false, $reseller = null) |
|
30 | + string $package = 'default', int $inode = 0, int $limit_nproc = 40, int $limit_nofile = 150, |
|
31 | + bool $autossl = false, bool $encodepass = false, $reseller = null) |
|
32 | 32 | { |
33 | 33 | $autossl = intval($autossl); |
34 | 34 | $this->data = compact('domain', 'user', 'pass', 'email', 'package', 'inode', 'limit_nproc', 'limit_nofile', 'server_ips', 'autossl', 'encodepass', 'reseller'); |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * status -> Error, msj -> User is root |
58 | 58 | */ |
59 | 59 | public function updateAccount(string $user, string $email, string $server_ips, string $package = 'default', |
60 | - string $backup = 'on', int $inode = 0, int $processes = 40, int $openfiles = 150) |
|
60 | + string $backup = 'on', int $inode = 0, int $processes = 40, int $openfiles = 150) |
|
61 | 61 | { |
62 | 62 | $this->data = compact('user', 'email', 'server_ips', 'package', 'backup', 'inode', 'processes', 'openfiles'); |
63 | 63 | $this->data['debug'] = $this->debug; |