* Appllied patch for bug 1686, image metadata cache by Andrius Ramanauskas.
[lhc/web/wiklou.git] / includes / SpecialUpload.php
index 9aa57b8..a5b32f0 100644 (file)
@@ -270,6 +270,10 @@ class UploadForm {
                                        $this->mUploadDescription,
                                        $this->mUploadCopyStatus,
                                        $this->mUploadSource );
+
+                       /* refresh image metadata cache */
+                       new Image( $this->mUploadSaveName, true );
+
                        $this->showSuccess();
                }
        }