diff options
author | millette <millette@controlyourself.ca> | 2008-11-20 16:50:41 -0500 |
---|---|---|
committer | millette <millette@controlyourself.ca> | 2008-11-20 16:50:41 -0500 |
commit | bf72cde96f6c60b4b7dbca6c5d011f31bcc186f7 (patch) | |
tree | 22428f693b828aef1bee8cb3ac272584dc41ff42 /classes/Profile.php | |
parent | aeaf70a472fe8ac24d47c624e5570a11d8707fb6 (diff) |
sphinx search for notices
darcs-hash:20081120215041-099f7-db396a60755d551099122b58634b7550d5606d88.gz
Diffstat (limited to 'classes/Profile.php')
-rw-r--r-- | classes/Profile.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/classes/Profile.php b/classes/Profile.php index 9de92ec4b..794dc1de9 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -46,21 +46,6 @@ class Profile extends Memcached_DataObject /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE - function getSearchEngine() { - require_once INSTALLDIR.'/classes/SearchEngines.php'; - static $search_engine; - if (!isset($search_engine)) { - if (common_config('sphinx', 'enabled')) { - $search_engine = new SphinxSearch($this); - } elseif ('mysql' === common_config('db', 'type')) { - $search_engine = new MySQLSearch($this); - } else { - $search_engine = new PGSearch($this); - } - } - return $search_engine; - } - function getAvatar($width, $height=NULL) { if (is_null($height)) { $height = $width; |