Change-Id: I3d4eafc7d9d04647955822d5100d8cf253d80c8a
$trxLimits = $this->context->getConfig()->get( 'TrxProfilerLimits' );
$trxProfiler = Profiler::instance()->getTransactionProfiler();
$trxProfiler->setExpectations( $trxLimits['POST'], __METHOD__ );
+ DeferredUpdates::addCallableUpdate( function () use ( $trxProfiler, $trxLimits ) {
+ $trxProfiler->setExpectations( $trxLimits['PostSend-POST'], __METHOD__ );
+ } );
$data = null;
$errors = $this->page->doRollback(
$trxLimits = $this->getConfig()->get( 'TrxProfilerLimits' );
$trxProfiler = Profiler::instance()->getTransactionProfiler();
$trxProfiler->setExpectations( $trxLimits['POST'], __METHOD__ );
+ DeferredUpdates::addCallableUpdate( function () use ( $trxProfiler, $trxLimits ) {
+ $trxProfiler->setExpectations( $trxLimits['PostSend-POST'], __METHOD__ );
+ } );
$retval = $pageObj->doRollback(
$this->getRbUser( $params ),