X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FinitUserPreference.php;h=1ab880ce475b7560e7a0070cb0d39bf7ef0646a3;hb=99e8325cc16fb769fcc3c7a66089d6d5c1928862;hp=f4da570fbb5ffee070552f2519243370e742fa41;hpb=c1d5106e1d0ff2634d3c23977ca8fc32e38ec426;p=lhc%2Fweb%2Fwiklou.git 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;