From: jenkins-bot Date: Tue, 22 Apr 2014 20:59:02 +0000 (+0000) Subject: Merge "Removed $wgImgAuthPublicTest" X-Git-Tag: 1.31.0-rc.0~16079 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=a9d8a2090579b41d3e533b8829718ce481471b9b;p=lhc%2Fweb%2Fwiklou.git Merge "Removed $wgImgAuthPublicTest" --- a9d8a2090579b41d3e533b8829718ce481471b9b diff --cc img_auth.php index cce5bc97c0,f7daedde3b..64086be506 --- a/img_auth.php +++ b/img_auth.php @@@ -50,13 -48,9 +48,13 @@@ $wgActionPaths = array( "$wgUploadPath/ wfImageAuthMain(); wfLogProfilingData(); +// Commit and close up! +$factory = wfGetLBFactory(); +$factory->commitMasterChanges(); +$factory->shutdown(); function wfImageAuthMain() { - global $wgImgAuthPublicTest, $wgImgAuthUrlPathMap; + global $wgImgAuthUrlPathMap; $request = RequestContext::getMain()->getRequest(); $publicWiki = in_array( 'read', User::getGroupPermissions( array( '*' ) ), true );