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
A service for read-only mode
[lhc/web/wiklou.git]
/
maintenance
/
purgeOldText.php
diff --git
a/maintenance/purgeOldText.php
b/maintenance/purgeOldText.php
index
49a31d7
..
1b78c7d
100644
(file)
--- a/
maintenance/purgeOldText.php
+++ b/
maintenance/purgeOldText.php
@@
-22,7
+22,7
@@
* @author Rob Church <robchur@gmail.com>
*/
* @author Rob Church <robchur@gmail.com>
*/
-require_once
( __DIR__ . '/Maintenance.php' )
;
+require_once
__DIR__ . '/Maintenance.php'
;
/**
* Maintenance script that purges old text records from the database.
/**
* Maintenance script that purges old text records from the database.
@@
-32,7
+32,7
@@
require_once( __DIR__ . '/Maintenance.php' );
class PurgeOldText extends Maintenance {
public function __construct() {
parent::__construct();
class PurgeOldText extends Maintenance {
public function __construct() {
parent::__construct();
- $this->
mDescription = "Purge old text records from the database"
;
+ $this->
addDescription( 'Purge old text records from the database' )
;
$this->addOption( 'purge', 'Performs the deletion' );
}
$this->addOption( 'purge', 'Performs the deletion' );
}