X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=maintenance%2FpageExists.php;h=b631005f5f8816b636539329ecf74f478403f54b;hb=995449ef039b769a613ddf3731ece1e4c20d358c;hp=3bde81ef314fd939e8fdaecf449e7da4ed20ce7b;hpb=552125ee3880f1341b96fe828771847174550538;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/pageExists.php b/maintenance/pageExists.php index 3bde81ef31..b631005f5f 100644 --- a/maintenance/pageExists.php +++ b/maintenance/pageExists.php @@ -27,7 +27,7 @@ require_once __DIR__ . '/Maintenance.php'; class PageExists extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = "Report whether a specific page exists"; + $this->addDescription( 'Report whether a specific page exists' ); $this->addArg( 'title', 'Page title to check whether it exists' ); } @@ -51,4 +51,3 @@ class PageExists extends Maintenance { $maintClass = "PageExists"; require_once RUN_MAINTENANCE_IF_MAIN; -