diff options
author | Aaron Schulz <aschulz@wikimedia.org> | 2014-04-21 21:59:43 -0700 |
---|---|---|
committer | Aaron Schulz <aschulz@wikimedia.org> | 2014-04-22 15:40:42 +0000 |
commit | c993ec0095e80c939cdacea690d8677814cdbeb6 (patch) | |
tree | 42cd7fdc928c2a4353029e61ea148d2aa9db32ba /thumb.php | |
parent | f3b12fca6602ec469876b0bf6f2eef0b212727b2 (diff) | |
download | mediawikicore-c993ec0095e80c939cdacea690d8677814cdbeb6.tar.gz mediawikicore-c993ec0095e80c939cdacea690d8677814cdbeb6.zip |
Avoid uncommitted transaction notices in thumb.php and img_auth.php
bug: 56269
Change-Id: I8cf5c070899d281c7efbac853f04c2fea9374e4d
Diffstat (limited to 'thumb.php')
-rw-r--r-- | thumb.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/thumb.php b/thumb.php index df6c416a2e75..bfaf9a02d087 100644 --- a/thumb.php +++ b/thumb.php @@ -36,6 +36,10 @@ if ( defined( 'THUMB_HANDLER' ) ) { } wfLogProfilingData(); +// Commit and close up! +$factory = wfGetLBFactory(); +$factory->commitMasterChanges(); +$factory->shutdown(); //-------------------------------------------------------------------------- |