Merge "Clear the stat cache in addMissingMetadata() to avoid more POSTs"
[lhc/web/wiklou.git] / includes / filebackend / SwiftFileBackend.php
index e9df205..3db235b 100644 (file)
@@ -693,6 +693,8 @@ class SwiftFileBackend extends FileBackendStore {
                                                'headers' => $this->authTokenHeaders( $auth ) + $objHdrs
                                        ) );
                                        if ( $rcode >= 200 && $rcode <= 299 ) {
+                                               $this->deleteFileCache( $path );
+
                                                return $objHdrs; // success
                                        }
                                }