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
rdbms: rename CONN_TRX_AUTO constant to CONN_TRX_AUTOCOMMIT
[lhc/web/wiklou.git]
/
maintenance
/
populateCategory.php
diff --git
a/maintenance/populateCategory.php
b/maintenance/populateCategory.php
index
87a4699
..
f2a0007
100644
(file)
--- a/
maintenance/populateCategory.php
+++ b/
maintenance/populateCategory.php
@@
-71,7
+71,7
@@
TEXT
public function execute() {
$begin = $this->getOption( 'begin', '' );
$throttle = $this->getOption( 'throttle', 0 );
public function execute() {
$begin = $this->getOption( 'begin', '' );
$throttle = $this->getOption( 'throttle', 0 );
- $force = $this->
getOption( 'force', false
);
+ $force = $this->
hasOption( 'force'
);
$dbw = $this->getDB( DB_MASTER );
$dbw = $this->getDB( DB_MASTER );
@@
-150,5
+150,5
@@
TEXT
}
}
}
}
-$maintClass =
"PopulateCategory"
;
+$maintClass =
PopulateCategory::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;