X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Finstaller%2FDatabaseUpdater.php;h=750f10870a592dc68e1a79fe3f06967b3da3ffc3;hb=d94c86dbacd1b08fd42f8d366ca53c33bf550796;hp=7a92807e0ca4e64786286ba8a55747aad019af4b;hpb=1a3f16f2b5debe6780e23ca25db979f14864e78e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index 7a92807e0c..750f10870a 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -410,9 +410,7 @@ abstract class DatabaseUpdater { $this->updatesSkipped = []; foreach ( $updates as $funcList ) { - $func = $funcList[0]; - $args = $funcList[1]; - $origParams = $funcList[2]; + list( $func, $args, $origParams ) = $funcList; $func( ...$args ); flush(); $this->updatesSkipped[] = $origParams;