From 561cdb2b88e871f6146b58498163b628887a9278 Mon Sep 17 00:00:00 2001 From: Fabii547 Date: Sat, 28 May 2016 15:09:00 +0200 Subject: [PATCH] Remove SearchKeywordManager::simplifyKeyword() --- .../system/search/SearchKeywordManager.class.php | 14 -------------- 1 file changed, 14 deletions(-) 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; - } } -- 2.20.1