dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2e45cd
)
Clear the stat cache in addMissingMetadata() to avoid more POSTs
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 22 Jul 2015 19:04:47 +0000
(12:04 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 22 Jul 2015 19:04:47 +0000
(12:04 -0700)
Change-Id: Icc075e424bdbed6868692ec734dff1e7d2003dd6
includes/filebackend/SwiftFileBackend.php
patch
|
blob
|
history
diff --git
a/includes/filebackend/SwiftFileBackend.php
b/includes/filebackend/SwiftFileBackend.php
index
2ccafe4
..
1aab033
100644
(file)
--- a/
includes/filebackend/SwiftFileBackend.php
+++ b/
includes/filebackend/SwiftFileBackend.php
@@
-693,6
+693,8
@@
class SwiftFileBackend extends FileBackendStore {
'headers' => $this->authTokenHeaders( $auth ) + $objHdrs
) );
if ( $rcode >= 200 && $rcode <= 299 ) {
+ $this->deleteFileCache( $path );
+
return $objHdrs; // success
}
}