aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/findOrphanedFiles.php
diff options
context:
space:
mode:
authorMax Semenik <maxsem.wiki@gmail.com>2016-01-29 18:48:47 -0800
committerMax Semenik <maxsem.wiki@gmail.com>2016-01-30 01:28:32 -0800
commit59db24e90bc6027cb8bf2756eb8cb52230d24966 (patch)
tree997664aec1a923444acdd86efc2528e3316291a8 /maintenance/findOrphanedFiles.php
parentfcdd643a46d87b677f6cdcc3ba9440e1472d8df7 (diff)
downloadmediawikicore-59db24e90bc6027cb8bf2756eb8cb52230d24966.tar.gz
mediawikicore-59db24e90bc6027cb8bf2756eb8cb52230d24966.zip
Use addDescription() instead of accessing mDescription directly
Change-Id: I0e2aa83024b8abf5298cfea4b21bf45722ad3103
Diffstat (limited to 'maintenance/findOrphanedFiles.php')
-rw-r--r--maintenance/findOrphanedFiles.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/findOrphanedFiles.php b/maintenance/findOrphanedFiles.php
index 41650bd0e677..23629575bcc1 100644
--- a/maintenance/findOrphanedFiles.php
+++ b/maintenance/findOrphanedFiles.php
@@ -25,7 +25,7 @@ class FindOrphanedFiles extends Maintenance {
function __construct() {
parent::__construct();
- $this->mDescription = "Find unregistered files in the 'public' repo zone.";
+ $this->addDescription( "Find unregistered files in the 'public' repo zone." );
$this->addOption( 'subdir',
'Only scan files in this subdirectory (e.g. "a/a0")', false, true );
$this->addOption( 'verbose', "Mention file paths checked" );