diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2011-07-13 11:32:38 +0200 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2011-07-13 11:32:38 +0200 |
| commit | 4bdad7125a34e121f7857c34480d0527c1925384 (patch) | |
| tree | 30d9c9da98d276a1cb6b4935973315cba0e50307 /phpBB/includes/captcha/captcha_factory.php | |
| parent | 09e0460e5b53f83f4c06703c8bd8f1cb0f22eb48 (diff) | |
| download | forums-4bdad7125a34e121f7857c34480d0527c1925384.tar forums-4bdad7125a34e121f7857c34480d0527c1925384.tar.gz forums-4bdad7125a34e121f7857c34480d0527c1925384.tar.bz2 forums-4bdad7125a34e121f7857c34480d0527c1925384.tar.xz forums-4bdad7125a34e121f7857c34480d0527c1925384.zip | |
[ticket/9608] Remove use of references in captcha and other places
References are not really needed in PHP due to copy-on-write. Since
PHP5, objects are always passed around as identifiers, which means they
are mutable. So it is no longer required to pass these by reference
either.
PHPBB3-9608
Diffstat (limited to 'phpBB/includes/captcha/captcha_factory.php')
| -rw-r--r-- | phpBB/includes/captcha/captcha_factory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/captcha/captcha_factory.php b/phpBB/includes/captcha/captcha_factory.php index a3766f4054..c2ec8c5bda 100644 --- a/phpBB/includes/captcha/captcha_factory.php +++ b/phpBB/includes/captcha/captcha_factory.php @@ -26,7 +26,7 @@ class phpbb_captcha_factory /** * return an instance of class $name in file $name_plugin.php */ - function &get_instance($name) + function get_instance($name) { global $phpbb_root_path, $phpEx; |
