summaryrefslogtreecommitdiff
path: root/maintenance/showJobs.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/showJobs.php')
-rw-r--r--maintenance/showJobs.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/maintenance/showJobs.php b/maintenance/showJobs.php
index b385c50a..886d7d45 100644
--- a/maintenance/showJobs.php
+++ b/maintenance/showJobs.php
@@ -23,8 +23,8 @@
* @author Tim Starling
* @author Ashar Voultoiz
*/
-
-require_once( dirname(__FILE__) . '/Maintenance.php' );
+
+require_once( dirname( __FILE__ ) . '/Maintenance.php' );
class ShowJobs extends Maintenance {
public function __construct() {
@@ -42,7 +42,7 @@ class ShowJobs extends Maintenance {
__METHOD__,
array( 'GROUP BY' => 'job_cmd' )
);
- foreach( $res as $row ) {
+ foreach ( $res as $row ) {
$this->output( $row->job_cmd . ': ' . $row->count . "\n" );
}
} else {
@@ -52,4 +52,4 @@ class ShowJobs extends Maintenance {
}
$maintClass = "ShowJobs";
-require_once( DO_MAINTENANCE );
+require_once( RUN_MAINTENANCE_IF_MAIN );