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 "objectcache: add "staleTTL" into WANObjectCache::getWithSetCallback()"
[lhc/web/wiklou.git]
/
maintenance
/
nukePage.php
diff --git
a/maintenance/nukePage.php
b/maintenance/nukePage.php
index
ff821cc
..
e27324a
100644
(file)
--- a/
maintenance/nukePage.php
+++ b/
maintenance/nukePage.php
@@
-40,7
+40,7
@@
class NukePage extends Maintenance {
public function execute() {
$name = $this->getArg();
- $delete = $this->
getOption( 'delete', false
);
+ $delete = $this->
hasOption( 'delete'
);
$dbw = $this->getDB( DB_MASTER );
$this->beginTransaction( $dbw, __METHOD__ );