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:25 +0000
commit1a4af18f462dd3b89361bccf34f8194807e4d8fd (patch)
treeebf6d97df2882615b9348c9c18c77e98e37334f0
parentb61d33635a0adb2ed3acd2cc6f139a587d3f213d (diff)
Revision: Bypass checking the cache if it's not found
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 d3860a32e740..b7fc7b156359 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