Merge "Removed $wgImgAuthPublicTest"
[lhc/web/wiklou.git] / img_auth.php
index f7daedd..64086be 100644 (file)
@@ -48,6 +48,10 @@ $wgActionPaths = array( "$wgUploadPath/" );
 
 wfImageAuthMain();
 wfLogProfilingData();
+// Commit and close up!
+$factory = wfGetLBFactory();
+$factory->commitMasterChanges();
+$factory->shutdown();
 
 function wfImageAuthMain() {
        global $wgImgAuthUrlPathMap;