summaryrefslogtreecommitdiff
path: root/maintenance/initStats.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/initStats.php')
-rw-r--r--maintenance/initStats.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/maintenance/initStats.php b/maintenance/initStats.php
index eab9c8df..5d8b8866 100644
--- a/maintenance/initStats.php
+++ b/maintenance/initStats.php
@@ -1,6 +1,6 @@
<?php
/**
- * Maintenance script to re-initialise or update the site statistics table
+ * Re-initialise or update the site statistics table.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -23,8 +23,13 @@
* @author Rob Church <robchur@gmail.com>
*/
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( __DIR__ . '/Maintenance.php' );
+/**
+ * Maintenance script to re-initialise or update the site statistics table
+ *
+ * @ingroup Maintenance
+ */
class InitStats extends Maintenance {
public function __construct() {
parent::__construct();