dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move callers away from Title::GAID_FOR_UPDATE
[lhc/web/wiklou.git]
/
includes
/
user
/
User.php
diff --git
a/includes/user/User.php
b/includes/user/User.php
index
666f2b6
..
a1637c9
100644
(file)
--- a/
includes/user/User.php
+++ b/
includes/user/User.php
@@
-3717,7
+3717,7
@@
class User implements IDBAccessObject, UserIdentity {
// If there is a new, unseen, revision, use its timestamp
$nextid = $oldid
// If there is a new, unseen, revision, use its timestamp
$nextid = $oldid
- ? $title->getNextRevisionID( $oldid, Title::
GAID_FOR_UPDATE
)
+ ? $title->getNextRevisionID( $oldid, Title::
READ_LATEST
)
: null;
if ( $nextid ) {
$this->setNewtalk( true, Revision::newFromId( $nextid ) );
: null;
if ( $nextid ) {
$this->setNewtalk( true, Revision::newFromId( $nextid ) );