X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fdeferred%2FMWCallableUpdate.php;h=5b822af492b49ea0f00bd7004d7b89547de89991;hp=47b162c270109ee714cb9d65facf38eda45ce24c;hb=6c9a2923fe1ee3a65cb027be5e781772f2b12fbd;hpb=2a26e0de27ca0b4bf2538bfa91327f1236553ee5 diff --git a/includes/deferred/MWCallableUpdate.php b/includes/deferred/MWCallableUpdate.php index 47b162c270..5b822af492 100644 --- a/includes/deferred/MWCallableUpdate.php +++ b/includes/deferred/MWCallableUpdate.php @@ -1,5 +1,7 @@ fname = $fname; if ( $dbw && $dbw->trxLevel() ) { - $dbw->onTransactionResolution( [ $this, 'cancelOnRollback' ] ); + $dbw->onTransactionResolution( [ $this, 'cancelOnRollback' ], $fname ); } }