jenkins-bot has submitted this change and it was merged. Change subject: Avoid uncommitted transaction notices in thumb.php and img_auth.php ......................................................................
Avoid uncommitted transaction notices in thumb.php and img_auth.php bug: 56269 Change-Id: I8cf5c070899d281c7efbac853f04c2fea9374e4d --- M img_auth.php M thumb.php 2 files changed, 8 insertions(+), 0 deletions(-) Approvals: Chad: Looks good to me, approved jenkins-bot: Verified diff --git a/img_auth.php b/img_auth.php index dc3dcd8..cce5bc9 100644 --- a/img_auth.php +++ b/img_auth.php @@ -50,6 +50,10 @@ wfImageAuthMain(); wfLogProfilingData(); +// Commit and close up! +$factory = wfGetLBFactory(); +$factory->commitMasterChanges(); +$factory->shutdown(); function wfImageAuthMain() { global $wgImgAuthPublicTest, $wgImgAuthUrlPathMap; diff --git a/thumb.php b/thumb.php index df6c416..bfaf9a0 100644 --- a/thumb.php +++ b/thumb.php @@ -36,6 +36,10 @@ } wfLogProfilingData(); +// Commit and close up! +$factory = wfGetLBFactory(); +$factory->commitMasterChanges(); +$factory->shutdown(); //-------------------------------------------------------------------------- -- To view, visit https://gerrit.wikimedia.org/r/127868 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8cf5c070899d281c7efbac853f04c2fea9374e4d Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> Gerrit-Reviewer: Chad <ch...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits