X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FaddSite.php;h=4953343fd9526f2c13c990ed39f8285f1697dde6;hb=3c8b7ee4a144165b972f4b8d60a7916172fa0a1c;hp=1ebc4f6643814ff4d673ee1471e39c1e8d9885ff;hpb=d19826aa35b206847a568a4b2c1c9ffaa615fca5;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/addSite.php b/maintenance/addSite.php index 1ebc4f6643..4953343fd9 100644 --- a/maintenance/addSite.php +++ b/maintenance/addSite.php @@ -35,6 +35,7 @@ class AddSite extends Maintenance { /** * Imports the site described by the parameters (see self::__construct()) passed to this * maintenance sccript into the sites table of MediaWiki. + * @return bool */ public function execute() { $siteStore = MediaWikiServices::getInstance()->getSiteStore(); @@ -87,5 +88,5 @@ class AddSite extends Maintenance { } } -$maintClass = 'AddSite'; +$maintClass = AddSite::class; require_once RUN_MAINTENANCE_IF_MAIN;