propagate rc_this_oldid properly
authorRiver Tarnell <kateturner@users.mediawiki.org>
Fri, 1 Jul 2005 21:40:22 +0000 (21:40 +0000)
committerRiver Tarnell <kateturner@users.mediawiki.org>
Fri, 1 Jul 2005 21:40:22 +0000 (21:40 +0000)
includes/RecentChange.php

index 0909c99..2c66012 100644 (file)
@@ -63,10 +63,10 @@ class RecentChange
                return $rc;
        }
 
-       /* static */ function newFromCurRow( $row )
+       /* static */ function newFromCurRow( $row, $rc_this_oldid = 0 )
        {
                $rc = new RecentChange;
-               $rc->loadFromCurRow( $row );
+               $rc->loadFromCurRow( $row, $rc_this_oldid );
                $rc->notificationtimestamp = false;
                $rc->numberofWatchingusers = false;
                return $rc;