From: Andrew Dolgov Date: Sun, 14 Jul 2013 19:29:25 +0000 (+0400) Subject: Revert "do not include sphinxclient if the class already exists" X-Git-Tag: 1.9~21 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=030b2a31c1bf502d3e4558ead3153fb92dd4fedd;p=tt-rss.git Revert "do not include sphinxclient if the class already exists" This reverts commit 63edc5c6315ca75305d497987e2d33385d6d30d6. --- diff --git a/include/functions.php b/include/functions.php index cda9aeeb..3c1956ea 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3850,9 +3850,7 @@ } function sphinx_search($query, $offset = 0, $limit = 30) { - - if (!class_exists("SphinxClient")) - require_once 'lib/sphinxapi.php'; + require_once 'lib/sphinxapi.php'; $sphinxClient = new SphinxClient();