X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdeferred%2FAutoCommitUpdate.php;h=85071576b07834681ed72eab0cf7e7f16bdca235;hb=b85e01f60bca73668eed043bf4b1d3b71ecf3401;hp=f9297af5840d6b5eb090ac8ed16b6cf4183553ea;hpb=d5a7166771613dfe4ed9fb75fa5efeced6134bd1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/deferred/AutoCommitUpdate.php b/includes/deferred/AutoCommitUpdate.php index f9297af584..85071576b0 100644 --- a/includes/deferred/AutoCommitUpdate.php +++ b/includes/deferred/AutoCommitUpdate.php @@ -39,7 +39,7 @@ class AutoCommitUpdate implements DeferrableUpdate, DeferrableCallback { try { /** @var Exception $e */ $e = null; - call_user_func_array( $this->callback, [ $this->dbw, $this->fname ] ); + ( $this->callback )( $this->dbw, $this->fname ); } catch ( Exception $e ) { } if ( $autoTrx ) {