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=243a466018d24415de27815cfae995865c45a66a;hpb=2dd58ade75d15a5895c0c010e17b6f729a0f72fe 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;