From: Tim Starling Date: Tue, 20 Nov 2012 22:49:16 +0000 (+0000) Subject: Merge "[FileBackend] Clear the stat cache in doQuickOperations() for sanity." X-Git-Tag: 1.31.0-rc.0~21564 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=1a39cc604b1a0224d73a91320059c24c7c8f15ca;p=lhc%2Fweb%2Fwiklou.git Merge "[FileBackend] Clear the stat cache in doQuickOperations() for sanity." --- 1a39cc604b1a0224d73a91320059c24c7c8f15ca diff --cc includes/filebackend/FileBackendStore.php index f6d0b24426,fe57379058..2d7fa072fe --- a/includes/filebackend/FileBackendStore.php +++ b/includes/filebackend/FileBackendStore.php @@@ -1120,9 -1115,9 +1120,12 @@@ abstract class FileBackendStore extend wfProfileIn( __METHOD__ . '-' . $this->name ); $status = Status::newGood(); + // 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