diff options
author | Nils Adermann <naderman@naderman.de> | 2013-09-16 05:00:18 +0200 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2013-09-16 05:00:18 +0200 |
commit | 390dc86344c23b658085bae4a719399e5eb579f0 (patch) | |
tree | 3c915606ea24a149ef78c21f72663e4ceae60661 /phpBB/phpbb/search | |
parent | ee1c15fe7e1d0c823026d2b63ceab276eb878ab0 (diff) | |
download | forums-390dc86344c23b658085bae4a719399e5eb579f0.tar forums-390dc86344c23b658085bae4a719399e5eb579f0.tar.gz forums-390dc86344c23b658085bae4a719399e5eb579f0.tar.bz2 forums-390dc86344c23b658085bae4a719399e5eb579f0.tar.xz forums-390dc86344c23b658085bae4a719399e5eb579f0.zip |
[ticket/11700] And some last comments with backslashes
PHPBB3-11700
Diffstat (limited to 'phpBB/phpbb/search')
-rw-r--r-- | phpBB/phpbb/search/base.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/search/fulltext_native.php | 6 | ||||
-rw-r--r-- | phpBB/phpbb/search/sphinx/config.php | 14 |
3 files changed, 11 insertions, 11 deletions
diff --git a/phpBB/phpbb/search/base.php b/phpBB/phpbb/search/base.php index 2f6b225b99..f2f982c31b 100644 --- a/phpBB/phpbb/search/base.php +++ b/phpBB/phpbb/search/base.php @@ -183,7 +183,7 @@ class base $store_ids = array_slice($id_ary, 0, $length); - // create a new \resultset if there is none for this search_key yet + // create a new resultset if there is none for this search_key yet // or add the ids to the existing resultset if (!($store = $cache->get('_search_results_' . $search_key))) { diff --git a/phpBB/phpbb/search/fulltext_native.php b/phpBB/phpbb/search/fulltext_native.php index 006b88e07a..50cf588a46 100644 --- a/phpBB/phpbb/search/fulltext_native.php +++ b/phpBB/phpbb/search/fulltext_native.php @@ -1271,7 +1271,7 @@ class fulltext_native extends \phpbb\search\base // We now have unique arrays of all words to be added and removed and // individual arrays of added and removed words for text and title. What - // we need to do now is add the new \words (if they don't already exist) + // we need to do now is add the new words (if they don't already exist) // and then add (or remove) matches between the words and this post if (sizeof($unique_add_words)) { @@ -1308,7 +1308,7 @@ class fulltext_native extends \phpbb\search\base $this->db->sql_transaction('begin'); } - // now update the search match table, remove links to removed words and add links to new \words + // now update the search match table, remove links to removed words and add links to new words foreach ($words['del'] as $word_in => $word_ary) { $title_match = ($word_in == 'title') ? 1 : 0; @@ -1468,7 +1468,7 @@ class fulltext_native extends \phpbb\search\base WHERE ' . $this->db->sql_in_set('word_id', $sql_in); $this->db->sql_query($sql); - // by setting search_last_gc to the new \time here we make sure that if a user reloads because the + // by setting search_last_gc to the new time here we make sure that if a user reloads because the // following query takes too long, he won't run into it again set_config('search_last_gc', time(), true); diff --git a/phpBB/phpbb/search/sphinx/config.php b/phpBB/phpbb/search/sphinx/config.php index 2468022428..8462298e01 100644 --- a/phpBB/phpbb/search/sphinx/config.php +++ b/phpBB/phpbb/search/sphinx/config.php @@ -65,7 +65,7 @@ class config /** * Appends a new \empty section to the end of the config * - * @param string $name The name for the new \section + * @param string $name The name for the new section * @return \phpbb\search\sphinx\config_section The newly created section object * * @access public @@ -143,7 +143,7 @@ class config $section_name .= $line[$j]; } - // And then we create the new \section object + // And then we create the new section object $section_name = trim($section_name); $section = new \phpbb\search\sphinx\config_section($section_name, $section_name_comment); } @@ -163,7 +163,7 @@ class config $section->add_variable(new \phpbb\search\sphinx\config_comment($config_file[$i])); continue; } - + // As long as we haven't yet actually found an opening bracket for this section // we treat everything as comments so it's not deleted either if (!$found_opening_bracket) @@ -182,7 +182,7 @@ class config } } - // If we did not find a comment in this line or still add to the previous + // If we did not find a comment in this line or still add to the previous // line's value ... if ($line || $in_value) { @@ -241,8 +241,8 @@ class config } } - // If a name and an equal sign were found then we have append a - // new \variable object to the section + // If a name and an equal sign were found then we have append a + // new variable object to the section if ($name && $found_assignment) { $section->add_variable(new \phpbb\search\sphinx\config_variable(trim($name), trim($value), ($end_section) ? '' : $comment)); @@ -250,7 +250,7 @@ class config } /* If we found a closing curly bracket this section has been completed - and we can append it to the section list and continue with looking for + and we can append it to the section list and continue with looking for the next section */ if ($end_section) { |