summaryrefslogtreecommitdiff
path: root/maintenance/updateRestrictions.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/updateRestrictions.php')
-rw-r--r--maintenance/updateRestrictions.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/maintenance/updateRestrictions.php b/maintenance/updateRestrictions.php
index ffbdb2ba..8699dc26 100644
--- a/maintenance/updateRestrictions.php
+++ b/maintenance/updateRestrictions.php
@@ -24,8 +24,14 @@
* @ingroup Maintenance
*/
-require_once( dirname( __FILE__ ) . '/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();