From 769f434402230c119bee8b643faa9689d90469c6 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 28 Mar 2013 10:40:21 -0700 Subject: [PATCH] Renamed JobQueue::QoS_Atomic to JobQueue::QOS_ATOMIC per convention. Change-Id: I45e633ff40a805df9dfeda88ac738cfe6ac04739 --- includes/job/JobQueue.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/job/JobQueue.php b/includes/job/JobQueue.php index 9c152cdf69..09ca67c345 100644 --- a/includes/job/JobQueue.php +++ b/includes/job/JobQueue.php @@ -36,7 +36,8 @@ abstract class JobQueue { protected $maxTries; // integer; maximum number of times to try a job protected $checkDelay; // boolean; allow delayed jobs - const QoS_Atomic = 1; // integer; "all-or-nothing" job insertions + const QOS_ATOMIC = 1; // integer; "all-or-nothing" job insertions + const QoS_Atomic = 1; // integer; "all-or-nothing" job insertions (b/c) const ROOTJOB_TTL = 2419200; // integer; seconds to remember root jobs (28 days) @@ -243,7 +244,7 @@ abstract class JobQueue { * Outside callers should use JobQueueGroup::push() instead of this function. * * @param $jobs Job|Array - * @param $flags integer Bitfield (supports JobQueue::QoS_Atomic) + * @param $flags integer Bitfield (supports JobQueue::QOS_ATOMIC) * @return bool Returns false on failure * @throws MWException */ @@ -257,7 +258,7 @@ abstract class JobQueue { * Outside callers should use JobQueueGroup::push() instead of this function. * * @param array $jobs List of Jobs - * @param $flags integer Bitfield (supports JobQueue::QoS_Atomic) + * @param $flags integer Bitfield (supports JobQueue::QOS_ATOMIC) * @return bool Returns false on failure * @throws MWException */ -- 2.20.1