Просмотр исходного кода

try to get connectiontest running

andre 2 лет назад
Родитель
Сommit
aa25b031a6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      api/class/KerioApiSocket.php

+ 1 - 1
api/class/KerioApiSocket.php

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