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 "Give TestCase::checkHasDiff3 a better name"
[lhc/web/wiklou.git]
/
maintenance
/
deleteRevision.php
diff --git
a/maintenance/deleteRevision.php
b/maintenance/deleteRevision.php
index
818ee36
..
4606d92
100644
(file)
--- a/
maintenance/deleteRevision.php
+++ b/
maintenance/deleteRevision.php
@@
-33,7
+33,7
@@
class DeleteRevision extends Maintenance {
public function __construct() {
parent::__construct();
public function __construct() {
parent::__construct();
- $this->
mDescription = "Delete one or more revisions by moving them to the archive table"
;
+ $this->
addDescription( 'Delete one or more revisions by moving them to the archive table' )
;
}
public function execute() {
}
public function execute() {
@@
-43,7
+43,7
@@
class DeleteRevision extends Maintenance {
$this->output( "Deleting revision(s) " . implode( ',', $this->mArgs ) .
" from " . wfWikiID() . "...\n" );
$this->output( "Deleting revision(s) " . implode( ',', $this->mArgs ) .
" from " . wfWikiID() . "...\n" );
- $dbw =
wfG
etDB( DB_MASTER );
+ $dbw =
$this->g
etDB( DB_MASTER );
$affected = 0;
foreach ( $this->mArgs as $revID ) {
$affected = 0;
foreach ( $this->mArgs as $revID ) {