summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmir Sarabadani <ladsgroup@gmail.com>2021-12-16 19:21:36 +0100
committerLadsgroup <Ladsgroup@gmail.com>2021-12-16 18:25:15 +0000
commit3283c039f723ffc7c66e646caa1534fbb5b6a6a7 (patch)
tree27ca5aba124a5edfdafc1f1dace41f3536af34ee
parent2455b91ec2bb5250b3167b219fca76dc6df16679 (diff)
Revision: Bypass checking the cache if it's not foundwmf/1.38.0-wmf.12
It must call the db function, not the one that goes through cache. Follow up to I630603eaffcae3 Change-Id: I1e8c94df6cb008091dee674b8101f0b59bf2263c
-rw-r--r--includes/Revision/RevisionStore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Revision/RevisionStore.php b/includes/Revision/RevisionStore.php
index 2f6b440960ec..d3bba1df2b51 100644
--- a/includes/Revision/RevisionStore.php
+++ b/includes/Revision/RevisionStore.php
@@ -1436,7 +1436,7 @@ class RevisionStore
'trace' => wfBacktrace( true )
]
);
- return $this->loadSlotRecords(
+ return $this->loadSlotRecordsFromDb(
$revId,
$queryFlags | self::READ_LATEST,
$page