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