From: Domas Mituzas Date: Wed, 5 Sep 2007 08:11:30 +0000 (+0000) Subject: be resourceful, instead of creating new indexing bloat, use existing indexes. X-Git-Tag: 1.31.0-rc.0~51508 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=213c894a56463167b8b89e3d82d02162b9f25084;p=lhc%2Fweb%2Fwiklou.git be resourceful, instead of creating new indexing bloat, use existing indexes. --- diff --git a/includes/DifferenceEngine.php b/includes/DifferenceEngine.php index 79e429190b..9f7c4e1bdf 100644 --- a/includes/DifferenceEngine.php +++ b/includes/DifferenceEngine.php @@ -166,6 +166,7 @@ CONTROL; // Look for an unpatrolled change corresponding to this diff $change = RecentChange::newFromConds( array( + 'rc_timestamp' => $this->mNewRev->getTimestamp(), 'rc_this_oldid' => $this->mNewid, 'rc_last_oldid' => $this->mOldid, 'rc_patrolled' => 0,