aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/base.php
diff options
context:
space:
mode:
authorCrizzo <mail@crizzo.de>2016-07-03 14:22:08 +0200
committerCrizzo <mail@crizzo.de>2016-07-03 14:22:08 +0200
commit53b9216c784e0d9688d565f85ef2a97c308fdaa2 (patch)
tree93d69f3c07028ea89555b4ee8cc92d1b7320a5b3 /phpBB/phpbb/search/base.php
parent4cdec74e94728605089587f2fd0667b3b3e4e558 (diff)
downloadforums-53b9216c784e0d9688d565f85ef2a97c308fdaa2.tar
forums-53b9216c784e0d9688d565f85ef2a97c308fdaa2.tar.gz
forums-53b9216c784e0d9688d565f85ef2a97c308fdaa2.tar.bz2
forums-53b9216c784e0d9688d565f85ef2a97c308fdaa2.tar.xz
forums-53b9216c784e0d9688d565f85ef2a97c308fdaa2.zip
[ticket/14704] Removes unused function and language files in base.php
PHPBB3-14704
Diffstat (limited to 'phpBB/phpbb/search/base.php')
-rw-r--r--phpBB/phpbb/search/base.php46
1 files changed, 0 insertions, 46 deletions
diff --git a/phpBB/phpbb/search/base.php b/phpBB/phpbb/search/base.php
index 30781975d8..d9313dddab 100644
--- a/phpBB/phpbb/search/base.php
+++ b/phpBB/phpbb/search/base.php
@@ -37,52 +37,6 @@ class base
}
/**
- * Retrieves a language dependend list of words that should be ignored by the search
- */
- function get_ignore_words()
- {
- if (!sizeof($this->ignore_words))
- {
- global $user, $phpEx;
-
- $words = array();
-
- if (file_exists("{$user->lang_path}{$user->lang_name}/search_ignore_words.$phpEx"))
- {
- // include the file containing ignore words
- include("{$user->lang_path}{$user->lang_name}/search_ignore_words.$phpEx");
- }
-
- $this->ignore_words = $words;
- unset($words);
- }
- }
-
- /**
- * Stores a list of synonyms that should be replaced in $this->match_synonym and $this->replace_synonym and caches them
- */
- function get_synonyms()
- {
- if (!sizeof($this->match_synonym))
- {
- global $user, $phpEx;
-
- $synonyms = array();
-
- if (file_exists("{$user->lang_path}{$user->lang_name}/search_synonyms.$phpEx"))
- {
- // include the file containing synonyms
- include("{$user->lang_path}{$user->lang_name}/search_synonyms.$phpEx");
- }
-
- $this->match_synonym = array_keys($synonyms);
- $this->replace_synonym = array_values($synonyms);
-
- unset($synonyms);
- }
- }
-
- /**
* Retrieves cached search results
*
* @param string $search_key an md5 string generated from all the passed search options to identify the results