From 468a8890c5217aed8a0958ca6657c3b96d297a91 Mon Sep 17 00:00:00 2001 From: Nick Jenkins Date: Mon, 22 Jan 2007 05:57:04 +0000 Subject: [PATCH] Prevent minor E_STRICT warning: * Strict Standards: Non-static method RecentChange::newFromRow() should not be called statically in includes/SpecialRecentchanges.php on line 243. --- includes/RecentChange.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1