summaryrefslogtreecommitdiff
path: root/maintenance/clear_stats.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/clear_stats.php')
-rw-r--r--maintenance/clear_stats.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/maintenance/clear_stats.php b/maintenance/clear_stats.php
index 61314e67..4581d532 100644
--- a/maintenance/clear_stats.php
+++ b/maintenance/clear_stats.php
@@ -1,6 +1,6 @@
<?php
/**
- * This script remove all statistics tracking from the cache
+ * Removes all statistics tracking from the cache.
*
* 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
@@ -21,8 +21,13 @@
* @ingroup Maintenance
*/
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( __DIR__ . '/Maintenance.php' );
+/**
+ * Maintenance script to remove all statistics tracking from the cache.
+ *
+ * @ingroup Maintenance
+ */
class clear_stats extends Maintenance {
public function __construct() {