From ae376bdfbf96242a3b0df13f6c26a0785da573fe Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 1 May 2019 09:33:52 +0300 Subject: [PATCH] search_sphinx: convert contructor of the sphinx API library --- plugins/search_sphinx/sphinxapi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/search_sphinx/sphinxapi.php b/plugins/search_sphinx/sphinxapi.php index 4d1ed6116..9c53e216a 100644 --- a/plugins/search_sphinx/sphinxapi.php +++ b/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";