1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-11 17:01:07 +02:00

[feature/sphinx-fulltext-search] fix comments and indentation

PHPBB3-10946
This commit is contained in:
Dhruv
2012-07-11 17:10:51 +05:30
parent 172c583f19
commit b8103c5c31
2 changed files with 5 additions and 5 deletions

View File

@ -98,7 +98,7 @@ class phpbb_search_sphinx_config
// If we're not inside a section look for one // If we're not inside a section look for one
if (!$section) if (!$section)
{ {
/* add empty lines and comments as comment objects to the section list /* Add empty lines and comments as comment objects to the section list
that way they're not deleted when reassembling the file from the sections*/ that way they're not deleted when reassembling the file from the sections*/
if (!$line || $line[0] == '#') if (!$line || $line[0] == '#')
{ {
@ -107,7 +107,7 @@ class phpbb_search_sphinx_config
} }
else else
{ {
/* otherwise we scan the line reading the section name until we find /* Otherwise we scan the line reading the section name until we find
an opening curly bracket or a comment */ an opening curly bracket or a comment */
$section_name = ''; $section_name = '';
$section_name_comment = ''; $section_name_comment = '';
@ -147,7 +147,7 @@ class phpbb_search_sphinx_config
// If we're not in a value continuing over the line feed // If we're not in a value continuing over the line feed
if (!$in_value) if (!$in_value)
{ {
/* then add empty lines and comments as comment objects to the variable list /* Then add empty lines and comments as comment objects to the variable list
of this section so they're not deleted on reassembly */ of this section so they're not deleted on reassembly */
if (!$line || $line[0] == '#') if (!$line || $line[0] == '#')
{ {
@ -240,7 +240,7 @@ class phpbb_search_sphinx_config
continue; continue;
} }
/* if we found a closing curly bracket this section has been completed /* 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 */ the next section */
if ($end_section) if ($end_section)