X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdeferred%2FAutoCommitUpdate.php;h=f9297af5840d6b5eb090ac8ed16b6cf4183553ea;hb=083c0dce4e3aa11e270633512668d0539066d453;hp=ef5903b668638668713de338a3c7e993a3e9c209;hpb=2b8d66c4cd4836b44464e0b33134dd6a9d27212c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/deferred/AutoCommitUpdate.php b/includes/deferred/AutoCommitUpdate.php index ef5903b668..f9297af584 100644 --- a/includes/deferred/AutoCommitUpdate.php +++ b/includes/deferred/AutoCommitUpdate.php @@ -1,5 +1,7 @@ callback = $callback; if ( $this->dbw->trxLevel() ) { - $this->dbw->onTransactionResolution( [ $this, 'cancelOnRollback' ] ); + $this->dbw->onTransactionResolution( [ $this, 'cancelOnRollback' ], $fname ); } }