From: Antoine Musso Date: Sun, 20 May 2007 12:00:13 +0000 (+0000) Subject: Fix PHP strict standards warning in enhanced recent changes. X-Git-Tag: 1.31.0-rc.0~52850 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=6acb8e11bf45392a1c35449a92cd70ab5cd139bd;p=lhc%2Fweb%2Fwiklou.git Fix PHP strict standards warning in enhanced recent changes. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7a1a626e90..f827eaf76f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -75,6 +75,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 9971) Typo in a french language message. * (bug 9973) Changed size was shown in advanced recentchanges collapsible items with $wgRCShowChangedSized = false. +* Fix PHP strict standards warning in enhanced recent changes. == MediaWiki API changes since 1.10 == diff --git a/includes/ChangesList.php b/includes/ChangesList.php index 751e122685..a3361519ae 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -9,7 +9,7 @@ class RCCacheEntry extends RecentChange var $curlink , $difflink, $lastlink , $usertalklink , $versionlink ; var $userlink, $timestamp, $watched; - function newFromParent( $rc ) { + static function newFromParent( $rc ) { $rc2 = new RCCacheEntry; $rc2->mAttribs = $rc->mAttribs; $rc2->mExtra = $rc->mExtra;