Add TransactionProfiler::redefineExpectations and migrate appropriate callers
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 4 Dec 2018 21:03:59 +0000 (16:03 -0500)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 10 Dec 2018 16:02:30 +0000 (16:02 +0000)
commitb1b67c9ac63606a8087324bf65cd6b0598fe69dd
tree84f1c73e2d508daacc24b32376c0703e9984361f
parent5195d895bd7b0d84fe74efe3a2ed3dc86b3c62aa
Add TransactionProfiler::redefineExpectations and migrate appropriate callers

Some of the callers of setExpectations() actually need to reset the old
expectations to avoid erroneous warnings.

Change-Id: I63c01c0f6cd748bdc849f1a5264e17bd377b9d11
includes/MediaWiki.php
includes/actions/RollbackAction.php
includes/api/ApiRollback.php
includes/libs/rdbms/TransactionProfiler.php