diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-07-14 23:29:25 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-07-14 23:29:25 +0400 |
| commit | 030b2a31c1bf502d3e4558ead3153fb92dd4fedd (patch) | |
| tree | fddf9bf1bfb9eae9bbd23c5ce973ad69e87932c0 /include/functions.php | |
| parent | 63edc5c6315ca75305d497987e2d33385d6d30d6 (diff) | |
Revert "do not include sphinxclient if the class already exists"
This reverts commit 63edc5c6315ca75305d497987e2d33385d6d30d6.
Diffstat (limited to 'include/functions.php')
| -rw-r--r-- | include/functions.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/functions.php b/include/functions.php index cda9aeeb8..3c1956ea2 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(); |