From da44bd1b5d745790f7b242b3c18a9bd091274d00 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 17 Nov 2012 10:47:49 -0800 Subject: [PATCH] [FileBackend] Clear the stat cache in doQuickOperations() for sanity. Change-Id: Id3fcc9b0bbb881947734edaa6799d71d9adb9881 --- includes/filebackend/FileBackendStore.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/filebackend/FileBackendStore.php b/includes/filebackend/FileBackendStore.php index 0f435a399d..fe57379058 100644 --- a/includes/filebackend/FileBackendStore.php +++ b/includes/filebackend/FileBackendStore.php @@ -1115,6 +1115,9 @@ abstract class FileBackendStore extends FileBackend { wfProfileIn( __METHOD__ . '-' . $this->name ); $status = Status::newGood(); + // Clear any file cache entries + $this->clearCache(); + $supportedOps = array( 'create', 'store', 'copy', 'move', 'delete', 'null' ); $async = ( $this->parallelize === 'implicit' ); $maxConcurrency = $this->concurrency; // throttle -- 2.20.1