X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpruneFileCache.php;h=8e6978d5626eadb50f5b2ee431040669782c17de;hb=0432618416d9d9b34a76f571c3a9c840739f1038;hp=455e9c07c935cc0265d9a81d17fd9a8e00e42db6;hpb=05b8af8b91dac965c67571668187d1dc2511ae03;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/pruneFileCache.php b/maintenance/pruneFileCache.php index 455e9c07c9..8e6978d562 100644 --- a/maintenance/pruneFileCache.php +++ b/maintenance/pruneFileCache.php @@ -34,7 +34,7 @@ class PruneFileCache extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = "Build file cache for content pages"; + $this->addDescription( 'Build file cache for content pages' ); $this->addOption( 'agedays', 'How many days old files must be in order to delete', true, true ); $this->addOption( 'subdir', 'Prune one $wgFileCacheDirectory subdirectory name', false, true ); }