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
WLFilters: set default values
[lhc/web/wiklou.git]
/
maintenance
/
fixDoubleRedirects.php
diff --git
a/maintenance/fixDoubleRedirects.php
b/maintenance/fixDoubleRedirects.php
index
79f75ef
..
8c9faca
100644
(file)
--- a/
maintenance/fixDoubleRedirects.php
+++ b/
maintenance/fixDoubleRedirects.php
@@
-42,8
+42,8
@@
class FixDoubleRedirects extends Maintenance {
}
public function execute() {
}
public function execute() {
- $async = $this->
getOption( 'async', false
);
- $dryrun = $this->
getOption( 'dry-run', false
);
+ $async = $this->
hasOption( 'async'
);
+ $dryrun = $this->
hasOption( 'dry-run'
);
if ( $this->hasOption( 'title' ) ) {
$title = Title::newFromText( $this->getOption( 'title' ) );
if ( $this->hasOption( 'title' ) ) {
$title = Title::newFromText( $this->getOption( 'title' ) );