diff options
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; |