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
Revert "[MCR] Turn Revision into a proxy to new code."
[lhc/web/wiklou.git]
/
includes
/
cache
/
MessageCache.php
diff --git
a/includes/cache/MessageCache.php
b/includes/cache/MessageCache.php
index
d6e9b74
..
768f980
100644
(file)
--- a/
includes/cache/MessageCache.php
+++ b/
includes/cache/MessageCache.php
@@
-1048,7
+1048,8
@@
class MessageCache {
if ( $titleObj->getLatestRevID() ) {
$revision = Revision::newKnownCurrent(
$dbr,
- $titleObj
+ $titleObj->getArticleID(),
+ $titleObj->getLatestRevID()
);
} else {
$revision = false;