]> git.wh0rd.org Git - tt-rss.git/commitdiff
Revert "do not include sphinxclient if the class already exists"
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 14 Jul 2013 19:29:25 +0000 (23:29 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 14 Jul 2013 19:29:25 +0000 (23:29 +0400)
This reverts commit 63edc5c6315ca75305d497987e2d33385d6d30d6.

include/functions.php

index cda9aeeb835b1a8cdd9e00a638a0f8519383be2c..3c1956ea225710ef83979a1069d2fefdbee9e5ef 100644 (file)
        }
 
        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();