From f9a17210379b449a26f88f02634ed7b0082ce311 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 30 Oct 2005 01:30:12 +0000 Subject: [PATCH] * (bug 2885) Remove unnecessary reference parameter which broke classic skin talk notification on PHP 5.0.5 --- RELEASE-NOTES | 2 ++ includes/Title.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 564e85fcba..55ea3a56ca 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -193,6 +193,8 @@ fully support the editing toolbar, but was found to be too confusing. * Ability to set the table name for external storage servers * (bug 3667) Add missing global in page move code * (bug 3761) Avoid deprecation warnings in Special:Import +* (bug 2885) Remove unnecessary reference parameter which broke classic skin + talk notification on PHP 5.0.5 === Caveats === diff --git a/includes/Title.php b/includes/Title.php index 7160e75a89..edde4ee73f 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1993,7 +1993,7 @@ class Title { * @param Title $title * @return bool */ - function equals( &$title ) { + function equals( $title ) { return $this->getInterwiki() == $title->getInterwiki() && $this->getNamespace() == $title->getNamespace() && $this->getDbkey() == $title->getDbkey(); -- 2.20.1