X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2Fdeferred%2FAtomicSectionUpdate.php;h=8b62989b53ab284c06e94e9e1b58fb6d2363bf62;hb=fd1e608caee198956d2d4cbdf9cb96870973a776;hp=a34871921199e38ebcd644bc9e745a935ad44c59;hpb=ff2dfbe9420b2ae8a942e1b6c3baa554d4a0a513;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/deferred/AtomicSectionUpdate.php b/includes/deferred/AtomicSectionUpdate.php index a348719211..8b62989b53 100644 --- a/includes/deferred/AtomicSectionUpdate.php +++ b/includes/deferred/AtomicSectionUpdate.php @@ -1,5 +1,7 @@ callback = $callback; if ( $this->dbw->trxLevel() ) { - $this->dbw->onTransactionResolution( [ $this, 'cancelOnRollback' ] ); + $this->dbw->onTransactionResolution( [ $this, 'cancelOnRollback' ], $fname ); } }