Browse Source

search_sphinx: convert contructor of the sphinx API library

Andrew Dolgov 6 months ago
parent
commit
ae376bdfbf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/search_sphinx/sphinxapi.php

+ 1 - 1
plugins/search_sphinx/sphinxapi.php

@@ -424,7 +424,7 @@ class SphinxClient
 	/////////////////////////////////////////////////////////////////////////////
 
 	/// create a new client object and fill defaults
-	function SphinxClient ()
+	function __construct()
 	{
 		// per-client-object settings
 		$this->_host		= "localhost";