dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fff4fe4
)
Avoid slave lag on $title->getLatestRevID()
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 24 Jan 2009 18:37:52 +0000
(18:37 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 24 Jan 2009 18:37:52 +0000
(18:37 +0000)
includes/UserMailer.php
patch
|
blob
|
history
diff --git
a/includes/UserMailer.php
b/includes/UserMailer.php
index
3d74a3d
..
a2d4bae
100644
(file)
--- a/
includes/UserMailer.php
+++ b/
includes/UserMailer.php
@@
-400,7
+400,7
@@
class EmailNotification {
$this->compose( $user );
}
- $latestTimestamp = Revision::getTimestampFromId( $title, $title->getLatestRevID() );
+ $latestTimestamp = Revision::getTimestampFromId( $title, $title->getLatestRevID(
GAID_FOR_UPDATE
) );
// Do not update watchlists if something else already did.
if ( $timestamp >= $latestTimestamp && ($wgShowUpdatedMarker || $wgEnotifWatchlist) ) {
# Mark the changed watch-listed page with a timestamp, so that the page is