From: Aaron Schulz Date: Sat, 17 Nov 2012 18:47:49 +0000 (-0800) Subject: [FileBackend] Clear the stat cache in doQuickOperations() for sanity. X-Git-Tag: 1.31.0-rc.0~21564^2 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=da44bd1b5d745790f7b242b3c18a9bd091274d00;p=lhc%2Fweb%2Fwiklou.git [FileBackend] Clear the stat cache in doQuickOperations() for sanity. Change-Id: Id3fcc9b0bbb881947734edaa6799d71d9adb9881 --- 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