dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Bump qunit from 2.6.0 to 2.6.2"
[lhc/web/wiklou.git]
/
maintenance
/
initUserPreference.php
diff --git
a/maintenance/initUserPreference.php
b/maintenance/initUserPreference.php
index
f4da570
..
1ab880c
100644
(file)
--- a/
maintenance/initUserPreference.php
+++ b/
maintenance/initUserPreference.php
@@
-46,7
+46,7
@@
class InitUserPreference extends Maintenance {
$dbr,
'user_properties',
[ 'up_user', 'up_property' ],
$dbr,
'user_properties',
[ 'up_user', 'up_property' ],
- $this->
mBatchSize
+ $this->
getBatchSize()
);
$iterator->setFetchColumns( [ 'up_user', 'up_value' ] );
$iterator->addConditions( [
);
$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;
require_once RUN_MAINTENANCE_IF_MAIN;