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 "RCFilters: Minimize vertical spacing; get rid of legend and <br>s"
[lhc/web/wiklou.git]
/
maintenance
/
nukeNS.php
diff --git
a/maintenance/nukeNS.php
b/maintenance/nukeNS.php
index
0326e02
..
e735aed
100644
(file)
--- a/
maintenance/nukeNS.php
+++ b/
maintenance/nukeNS.php
@@
-52,8
+52,8
@@
class NukeNS extends Maintenance {
public function execute() {
$ns = $this->getOption( 'ns', NS_MEDIAWIKI );
public function execute() {
$ns = $this->getOption( 'ns', NS_MEDIAWIKI );
- $delete = $this->
getOption( 'delete', false
);
- $all = $this->
getOption( 'all', false
);
+ $delete = $this->
hasOption( 'delete'
);
+ $all = $this->
hasOption( 'all'
);
$dbw = $this->getDB( DB_MASTER );
$this->beginTransaction( $dbw, __METHOD__ );
$dbw = $this->getDB( DB_MASTER );
$this->beginTransaction( $dbw, __METHOD__ );