X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FaddSite.php;h=4953343fd9526f2c13c990ed39f8285f1697dde6;hb=11ee7f78da9776db26098642a151a288f98bea14;hp=1ebc4f6643814ff4d673ee1471e39c1e8d9885ff;hpb=85ac1b5d7c7ca50a93f2d16639cdde2f46bc133e;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;