Remove SearchKeywordManager::simplifyKeyword()
authorFabii547 <fabiangossner@gmail.com>
Sat, 28 May 2016 13:09:00 +0000 (15:09 +0200)
committerFabii547 <fabiangossner@gmail.com>
Sat, 28 May 2016 13:09:00 +0000 (15:09 +0200)
wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php

index 231d07398006207f6b8ac95f5cfd868851425e4e..7ecc64a4be0d6923387f51ff0a2f386783388852 100644 (file)
@@ -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;
-       }
 }