Fix PHP strict standards warning in enhanced recent changes.
authorAntoine Musso <hashar@users.mediawiki.org>
Sun, 20 May 2007 12:00:13 +0000 (12:00 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sun, 20 May 2007 12:00:13 +0000 (12:00 +0000)
RELEASE-NOTES
includes/ChangesList.php

index 7a1a626..f827eaf 100644 (file)
@@ -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 ==
 
index 751e122..a336151 100644 (file)
@@ -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;