X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FupdateRestrictions.php;h=175447e780d713d7a31d2b475bfaf68caf1f091d;hb=855e3626e3aac639fa754aa17a8e5a6f5b533f25;hp=04e7f41c990fb070e2a44ba59feb3b42f423678e;hpb=6112bf241de3fd7b1ff61929926304d87aee08fd;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/updateRestrictions.php b/maintenance/updateRestrictions.php index 04e7f41c99..175447e780 100644 --- a/maintenance/updateRestrictions.php +++ b/maintenance/updateRestrictions.php @@ -24,8 +24,14 @@ * @ingroup Maintenance */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; +/** + * Maintenance script that updates page_restrictions table from + * old page_restriction column. + * + * @ingroup Maintenance + */ class UpdateRestrictions extends Maintenance { public function __construct() { parent::__construct(); @@ -108,4 +114,4 @@ class UpdateRestrictions extends Maintenance { } $maintClass = "UpdateRestrictions"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;