From: Aaron Schulz Date: Thu, 4 Apr 2013 17:50:26 +0000 (-0700) Subject: Make sure a job is logged as OK if the status is NULL for sanity. X-Git-Tag: 1.31.0-rc.0~20057^2 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=a6aec4d1fb669384949c4f363e9d284a119fc357;p=lhc%2Fweb%2Fwiklou.git Make sure a job is logged as OK if the status is NULL for sanity. Change-Id: Ib1e194fc6d655c48b72f0cfae30a9ec78e54419f --- diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php index abe83352a0..66d8028f06 100644 --- a/maintenance/runJobs.php +++ b/maintenance/runJobs.php @@ -108,7 +108,7 @@ class RunJobs extends Maintenance { $group->ack( $job ); // done } - if ( !$status ) { + if ( $status === false ) { $this->runJobsLog( $job->toString() . " t=$timeMs error={$error}" ); } else { $this->runJobsLog( $job->toString() . " t=$timeMs good" );