Merge "[FileBackend] Clear the stat cache in doQuickOperations() for sanity."
[lhc/web/wiklou.git] / includes / filebackend / FileBackendStore.php
index f6d0b24..2d7fa07 100644 (file)
@@ -1123,6 +1123,9 @@ abstract class FileBackendStore extends FileBackend {
                // Fix up custom header name/value pairs...
                $ops = array_map( array( $this, 'stripInvalidHeadersFromOp' ), $ops );
 
+               // Clear any file cache entries
+               $this->clearCache();
+
                $supportedOps = array( 'create', 'store', 'copy', 'move', 'delete', 'null' );
                $async = ( $this->parallelize === 'implicit' );
                $maxConcurrency = $this->concurrency; // throttle