From 6cb3580d51453942914ca50d77df2d0a0c27bfcc Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 6 Dec 2012 15:41:31 -0800 Subject: [PATCH] [JobQueue] Added __METHOD__ to delete() call. Change-Id: If2644e2d0ef12b6ad68b7229f1e60a3d50fc139d --- includes/job/JobQueueDB.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/job/JobQueueDB.php b/includes/job/JobQueueDB.php index 3e057eb16e..9f31060b42 100644 --- a/includes/job/JobQueueDB.php +++ b/includes/job/JobQueueDB.php @@ -372,7 +372,8 @@ class JobQueueDB extends JobQueue { $dbw->commit( __METHOD__, 'flush' ); // flush existing transaction // Delete a row with a single DELETE without holding row locks over RTTs... - $dbw->delete( 'job', array( 'job_cmd' => $this->type, 'job_id' => $job->getId() ) ); + $dbw->delete( 'job', + array( 'job_cmd' => $this->type, 'job_id' => $job->getId() ), __METHOD__ ); return true; } -- 2.20.1