From 9db190c7e736ec8d063187d4241b59feaf7dc2d1 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 22 Jun 2011 11:28:20 +0200 Subject: update to MediaWiki 1.17.0 --- maintenance/showJobs.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'maintenance/showJobs.php') 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 ); -- cgit v1.2.3-54-g00ecf