summaryrefslogtreecommitdiff
path: root/maintenance/showJobs.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/showJobs.php')
-rw-r--r--maintenance/showJobs.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/maintenance/showJobs.php b/maintenance/showJobs.php
index ff7d3fc0..1dceb790 100644
--- a/maintenance/showJobs.php
+++ b/maintenance/showJobs.php
@@ -1,9 +1,9 @@
<?php
/**
- * Based on runJobs.php
- *
* Report number of jobs currently waiting in master database.
*
+ * Based on runJobs.php
+ *
* 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
* the Free Software Foundation; either version 2 of the License, or
@@ -19,13 +19,20 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
+ * @file
* @ingroup Maintenance
* @author Tim Starling
* @author Antoine Musso
*/
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( __DIR__ . '/Maintenance.php' );
+/**
+ * Maintenance script that reports the number of jobs currently waiting
+ * in master database.
+ *
+ * @ingroup Maintenance
+ */
class ShowJobs extends Maintenance {
public function __construct() {
parent::__construct();