From: Aaron Schulz Date: Sun, 27 Jan 2013 03:09:33 +0000 (-0800) Subject: Fixed slave check when the job type is not specified. X-Git-Tag: 1.31.0-rc.0~20900 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=7ed3ea62135930bc3f6cbf38f0fddb9f7efa195a;p=lhc%2Fweb%2Fwiklou.git Fixed slave check when the job type is not specified. Change-Id: I6bee31d149330ead537b9deebb57294f12ce9e02 --- diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php index 8d2819d21c..85b0993df0 100644 --- a/maintenance/runJobs.php +++ b/maintenance/runJobs.php @@ -101,7 +101,7 @@ class RunJobs extends Maintenance { break; } // Don't let any slaves/backups fall behind... - $group->get( $type )->waitForBackups(); + $group->get( $job->getType() )->waitForBackups(); } } while ( $job ); // stop when there are no jobs }