From: Fabii547 Date: Sat, 28 May 2016 13:09:00 +0000 (+0200) Subject: Remove SearchKeywordManager::simplifyKeyword() X-Git-Tag: 3.0.0_Beta_1~1291^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=561cdb2b88e871f6146b58498163b628887a9278;p=GitHub%2FWoltLab%2FWCF.git Remove SearchKeywordManager::simplifyKeyword() --- diff --git a/wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php b/wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php index 231d073980..7ecc64a4be 100644 --- a/wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php +++ b/wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php @@ -22,8 +22,6 @@ class SearchKeywordManager extends SingletonFactory { * @param string $keyword */ public function add($keyword) { - $keyword = static::simplifyKeyword($keyword); - // search existing entry $sql = "SELECT * FROM wcf".WCF_N."_search_keyword @@ -46,16 +44,4 @@ class SearchKeywordManager extends SingletonFactory { $action->executeAction(); } } - - /** - * Returns simplified version of the given keyword. - * - * @param string $keyword - * @return string - */ - public static function simplifyKeyword($keyword) { - // TODO: do something useful - - return $keyword; - } }