|
@@ -93,7 +93,7 @@ class KerioApiSocket implements KerioApiSocketInterface {
|
|
|
* @param integer Timeout, optional
|
|
* @param integer Timeout, optional
|
|
|
* @return boolean True on success
|
|
* @return boolean True on success
|
|
|
*/
|
|
*/
|
|
|
- public function KerioApiSocket($hostname, $port, $timeout = '') {
|
|
|
|
|
|
|
+ public function __construct($hostname, $port, $timeout = '') {
|
|
|
/* Set host */
|
|
/* Set host */
|
|
|
$this->hostname = $hostname;
|
|
$this->hostname = $hostname;
|
|
|
$this->port = $port;
|
|
$this->port = $port;
|