Remove useless param in RecentChange::newFromCurRow()
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 16 Jun 2008 02:39:43 +0000 (02:39 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 16 Jun 2008 02:39:43 +0000 (02:39 +0000)
includes/RecentChange.php

index 58180bf..4daf6f8 100644 (file)
@@ -56,10 +56,10 @@ class RecentChange
                return $rc;
        }
 
-       public static function newFromCurRow( $row, $rc_this_oldid = 0 )
+       public static function newFromCurRow( $row )
        {
                $rc = new RecentChange;
-               $rc->loadFromCurRow( $row, $rc_this_oldid );
+               $rc->loadFromCurRow( $row );
                $rc->notificationtimestamp = false;
                $rc->numberofWatchingusers = false;
                return $rc;