Bläddra i källkod

try to get connectiontest running

andre 2 år sedan
förälder
incheckning
aa25b031a6
1 ändrade filer med 1 tillägg och 1 borttagningar
  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
 	 * @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;