Make AjaxDispatcher commit transactions before responding
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 12 Jan 2016 21:23:39 +0000 (13:23 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 12 Jan 2016 21:24:37 +0000 (21:24 +0000)
commit032bed0c2f7e84f36c002c2265edb325763b8d5b
tree52957cc7cd02e9790ba88fb666f133727ae6a87e
parent159e71f6d22c4eacc07eea7e7ac4da6e789a792d
Make AjaxDispatcher commit transactions before responding

Some extension code appears to have sanity commit() calls
to work around this in places, which is the wrong solution.

Note that there was always the post-send commit, just not
the pre-send one that normal requests have.

Change-Id: I410a1f1097daa4f43481d1b0afbe7f467b86d254
includes/AjaxDispatcher.php