@@ -109,6 +109,9 @@ discard block |
||
109 | 109 | return $ret; |
110 | 110 | } |
111 | 111 | |
112 | + /** |
|
113 | + * @param string $level |
|
114 | + */ |
|
112 | 115 | public function log($level, $text, $line = '', $file = '') { |
113 | 116 | if (function_exists('myadmin_log')) |
114 | 117 | myadmin_log('cloudlinux', $level, $text, $line, $file); |
@@ -246,7 +249,7 @@ discard block |
||
246 | 249 | * Remove IP licenses with specified type for customer. Also unÂregisters from CLN server associated with IP. |
247 | 250 | * @param string $ipAddress ip address to remove |
248 | 251 | * @param int $type optional parameter to specify the type of license to remove (1,2, or 16) or 0 for all |
249 | - * @return false|integer 0 on success, -1 on error, Error will be returned also if account have no licenses for provided IP. |
|
252 | + * @return boolean 0 on success, -1 on error, Error will be returned also if account have no licenses for provided IP. |
|
250 | 253 | */ |
251 | 254 | public function removeLicense($ipAddress, $type = 0) { |
252 | 255 | $this->log('info', "Calling CLoudLinux->xmlClient->removeLicense({$this->authToken()}, {$ipAddress}, {$type})", __LINE__, __FILE__); |