1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 17:56:52 +02:00

[feature/sphinx-fulltext-search] remove all reference returns

PHPBB3-10946
This commit is contained in:
Dhruv Goel
2012-06-27 01:03:04 +05:30
committed by Dhruv
parent f609555b1a
commit bfd01f0187
2 changed files with 9 additions and 9 deletions

View File

@@ -323,10 +323,10 @@ class phpbb_search_fulltext_sphinx
foreach ($config_data as $section_name => $section_data)
{
$section = &$config_object->get_section_by_name($section_name);
$section = $config_object->get_section_by_name($section_name);
if (!$section)
{
$section = &$config_object->add_section($section_name);
$section = $config_object->add_section($section_name);
}
foreach ($delete as $key => $void)
@@ -346,10 +346,10 @@ class phpbb_search_fulltext_sphinx
if (!isset($non_unique[$key]))
{
$variable = &$section->get_variable_by_name($key);
$variable = $section->get_variable_by_name($key);
if (!$variable)
{
$variable = &$section->create_variable($key, $value);
$variable = $section->create_variable($key, $value);
}
else
{
@@ -358,7 +358,7 @@ class phpbb_search_fulltext_sphinx
}
else
{
$variable = &$section->create_variable($key, $value);
$variable = $section->create_variable($key, $value);
}
}
}