From: Aaron Schulz Date: Fri, 19 Apr 2013 20:36:12 +0000 (-0700) Subject: [JobQueue] Use regular wfDebug() in some places. X-Git-Tag: 1.31.0-rc.0~19886^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=78966db8734d672ab4f6344bbe8824b43cf880e9;p=lhc%2Fweb%2Fwiklou.git [JobQueue] Use regular wfDebug() in some places. * This is not worth a special log. Change-Id: I12df469e7f64446caf5f4e956967f6db065479d1 --- diff --git a/includes/job/JobQueueDB.php b/includes/job/JobQueueDB.php index a685fe3505..a8402acd7b 100644 --- a/includes/job/JobQueueDB.php +++ b/includes/job/JobQueueDB.php @@ -292,7 +292,7 @@ class JobQueueDB extends JobQueue { $title = Title::makeTitleSafe( $row->job_namespace, $row->job_title ); if ( !$title ) { $dbw->delete( 'job', array( 'job_id' => $row->job_id ), __METHOD__ ); - wfDebugLog( 'JobQueueDB', "Row has invalid title '{$row->job_title}'." ); + wfDebug( "Row has invalid title '{$row->job_title}'." ); continue; // try again } $job = Job::factory( $row->job_cmd, $title, @@ -434,7 +434,7 @@ class JobQueueDB extends JobQueue { array( 'job_cmd' => $this->type, 'job_token' => $uuid ), __METHOD__ ); if ( !$row ) { // raced out by duplicate job removal - wfDebugLog( 'JobQueueDB', "Row deleted as duplicate by another process." ); + wfDebug( "Row deleted as duplicate by another process." ); } } else { break; // nothing to do