X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdeferred%2FAtomicSectionUpdate.php;h=8b62989b53ab284c06e94e9e1b58fb6d2363bf62;hb=015055b17b706a83d18ae58e944e52392a13b460;hp=a34871921199e38ebcd644bc9e745a935ad44c59;hpb=dc36560cdf22db860133ecb58db1898e285f25ea;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 ); } }