X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fdeferred%2FMWCallableUpdate.php;h=5247e97cf10682fcbb9fdaca787a750bb633d9de;hb=e758226c91935a1df2b6fd3ed1f18922d8bfb45b;hp=47b162c270109ee714cb9d65facf38eda45ce24c;hpb=4b70bc2b284c6f91b310eb961b4e43b68eb54c9a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/deferred/MWCallableUpdate.php b/includes/deferred/MWCallableUpdate.php index 47b162c270..5247e97cf1 100644 --- a/includes/deferred/MWCallableUpdate.php +++ b/includes/deferred/MWCallableUpdate.php @@ -19,7 +19,7 @@ class MWCallableUpdate implements DeferrableUpdate, DeferrableCallback { $this->fname = $fname; if ( $dbw && $dbw->trxLevel() ) { - $dbw->onTransactionResolution( [ $this, 'cancelOnRollback' ] ); + $dbw->onTransactionResolution( [ $this, 'cancelOnRollback' ], $fname ); } }