Prevent minor E_STRICT warning:
authorNick Jenkins <nickj@users.mediawiki.org>
Mon, 22 Jan 2007 05:57:04 +0000 (05:57 +0000)
committerNick Jenkins <nickj@users.mediawiki.org>
Mon, 22 Jan 2007 05:57:04 +0000 (05:57 +0000)
* Strict Standards: Non-static method RecentChange::newFromRow() should not be called statically in includes/SpecialRecentchanges.php on line 243.

includes/RecentChange.php

index 966bfe9..292e3f7 100644 (file)
@@ -47,7 +47,7 @@ class RecentChange
 
        # Factory methods
 
-       /* static */ function newFromRow( $row )
+       public static function newFromRow( $row )
        {
                $rc = new RecentChange;
                $rc->loadFromRow( $row );