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=e65f8ac5110804067366f9f239c13f4f29b66c3d;hpb=9e076d6b1a0af6411c005b24d5adb69345905735 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;