X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FinitUserPreference.php;h=1ab880ce475b7560e7a0070cb0d39bf7ef0646a3;hp=f4da570fbb5ffee070552f2519243370e742fa41;hb=11ee7f78da9776db26098642a151a288f98bea14;hpb=2c8f7978df47f338ee6e245e3efba6175ba425e9 diff --git a/maintenance/initUserPreference.php b/maintenance/initUserPreference.php index f4da570fbb..1ab880ce47 100644 --- a/maintenance/initUserPreference.php +++ b/maintenance/initUserPreference.php @@ -46,7 +46,7 @@ class InitUserPreference extends Maintenance { $dbr, 'user_properties', [ 'up_user', 'up_property' ], - $this->mBatchSize + $this->getBatchSize() ); $iterator->setFetchColumns( [ 'up_user', 'up_value' ] ); $iterator->addConditions( [ @@ -80,5 +80,5 @@ class InitUserPreference extends Maintenance { } } -$maintClass = 'InitUserPreference'; // Tells it to run the class +$maintClass = InitUserPreference::class; // Tells it to run the class require_once RUN_MAINTENANCE_IF_MAIN;