Merge "Made TempFSFile try to purge files on fatals too"
[lhc/web/wiklou.git] / img_auth.php
index dc3dcd8..cce5bc9 100644 (file)
@@ -50,6 +50,10 @@ $wgActionPaths = array( "$wgUploadPath/" );
 
 wfImageAuthMain();
 wfLogProfilingData();
+// Commit and close up!
+$factory = wfGetLBFactory();
+$factory->commitMasterChanges();
+$factory->shutdown();
 
 function wfImageAuthMain() {
        global $wgImgAuthPublicTest, $wgImgAuthUrlPathMap;