Fix edit patrolling in multi Diffs
authorMarius Hoch <hoo@online.de>
Sun, 2 Jun 2013 13:23:09 +0000 (15:23 +0200)
committerMarius Hoch <hoo@online.de>
Sun, 2 Jun 2013 13:23:09 +0000 (15:23 +0200)
In multi diffs we had a "wrong" value for rc_last_oldid
set (not the directly previous revision but the one
selected by the user). Due to that there weren't any
unpatrolled recentchanges rows found. As that is cached
in memcached these rows stay unpatrollable forever.

Bug: 49019
Change-Id: I5d6111032dba7d102e30d85718639697f44c036e

includes/diff/DifferenceEngine.php

index 5cdc0b6..4ee066e 100644 (file)
@@ -431,7 +431,6 @@ class DifferenceEngine extends ContextSource {
                                        array(
                                                'rc_timestamp' => $db->timestamp( $this->mNewRev->getTimestamp() ),
                                                'rc_this_oldid' => $this->mNewid,
-                                               'rc_last_oldid' => $this->mOldid,
                                                'rc_patrolled' => 0
                                        ),
                                        __METHOD__,