Revert "do not include sphinxclient if the class already exists"

This reverts commit 63edc5c631.
This commit is contained in:
Andrew Dolgov 2013-07-14 23:29:25 +04:00
parent 63edc5c631
commit 030b2a31c1
1 changed files with 1 additions and 3 deletions

View File

@ -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();