diff options
author | Dhruv Goel <dhruv.goel92@gmail.com> | 2012-06-27 01:03:04 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2012-07-12 17:31:56 +0530 |
commit | bfd01f01877bcb9a9be9e2df5c6713c3e338579e (patch) | |
tree | ced73355845bc1fdfb0171140cd0dd9c4b296072 /phpBB/includes/functions_sphinx.php | |
parent | f609555b1ae335b5ea996bf26ee2846058e5256a (diff) | |
download | forums-bfd01f01877bcb9a9be9e2df5c6713c3e338579e.tar forums-bfd01f01877bcb9a9be9e2df5c6713c3e338579e.tar.gz forums-bfd01f01877bcb9a9be9e2df5c6713c3e338579e.tar.bz2 forums-bfd01f01877bcb9a9be9e2df5c6713c3e338579e.tar.xz forums-bfd01f01877bcb9a9be9e2df5c6713c3e338579e.zip |
[feature/sphinx-fulltext-search] remove all reference returns
PHPBB3-10946
Diffstat (limited to 'phpBB/includes/functions_sphinx.php')
-rw-r--r-- | phpBB/includes/functions_sphinx.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/functions_sphinx.php b/phpBB/includes/functions_sphinx.php index a4f0e41491..a93a1d950f 100644 --- a/phpBB/includes/functions_sphinx.php +++ b/phpBB/includes/functions_sphinx.php @@ -44,7 +44,7 @@ class sphinx_config * @param string $name The name of the section that shall be returned * @return sphinx_config_section The section object or null if none was found */ - function &get_section_by_name($name) + function get_section_by_name($name) { for ($i = 0, $size = sizeof($this->sections); $i < $size; $i++) { @@ -62,7 +62,7 @@ class sphinx_config * @param string $name The name for the new section * @return sphinx_config_section The newly created section object */ - function &add_section($name) + function add_section($name) { $this->sections[] = new sphinx_config_section($name, ''); return $this->sections[sizeof($this->sections) - 1]; @@ -345,7 +345,7 @@ class sphinx_config_section * @return sphinx_config_section The first variable object from this section with the * given name or null if none was found */ - function &get_variable_by_name($name) + function get_variable_by_name($name) { for ($i = 0, $size = sizeof($this->variables); $i < $size; $i++) { @@ -382,7 +382,7 @@ class sphinx_config_section * @param string $value The value for the new variable * @return sphinx_config_variable Variable object that was created */ - function &create_variable($name, $value) + function create_variable($name, $value) { $this->variables[] = new sphinx_config_variable($name, $value, ''); return $this->variables[sizeof($this->variables) - 1]; |