From: Nick Jenkins Date: Mon, 22 Jan 2007 05:57:04 +0000 (+0000) Subject: Prevent minor E_STRICT warning: X-Git-Tag: 1.31.0-rc.0~54243 X-Git-Url: https://git.cyclocoop.org/admin//%22%7B%7Blocalurle:Special:Imagelist%7D%7D/%22?a=commitdiff_plain;h=468a8890c5217aed8a0958ca6657c3b96d297a91;p=lhc%2Fweb%2Fwiklou.git Prevent minor E_STRICT warning: * Strict Standards: Non-static method RecentChange::newFromRow() should not be called statically in includes/SpecialRecentchanges.php on line 243. --- diff --git a/includes/RecentChange.php b/includes/RecentChange.php index 966bfe9862..292e3f7197 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -47,7 +47,7 @@ class RecentChange # Factory methods - /* static */ function newFromRow( $row ) + public static function newFromRow( $row ) { $rc = new RecentChange; $rc->loadFromRow( $row );