From 03c32c32afef10355e3e8f3e931c0f1ce7c3a623 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 29 Jan 2008 00:17:34 +0000 Subject: [PATCH] Applying live hack from Wikimedia code base: tweaks to runJobs.php. Not clear that it actually accomplishes anything of substance, but what the hey. --- maintenance/runJobs.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php index 4539be054d..799092e1fe 100644 --- a/maintenance/runJobs.php +++ b/maintenance/runJobs.php @@ -1,6 +1,6 @@ $type); + $conds = "job_cmd = " . $dbw->addQuotes($type); while ( $dbw->selectField( 'job', 'count(*)', $conds, 'runJobs.php' ) ) { $offset=0; for (;;) { $job = ($type == false) ? - Job::pop($offset, $type) + Job::pop($offset) : Job::pop_type($type); if ($job == false) -- 2.20.1