From 1388a54d06976367f4d77d9fc0689d268aefdd25 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 8 Mar 2013 10:20:54 -0800 Subject: [PATCH] [JobQueue] Made supportedOrders() protected. Change-Id: I7237472d8281c06aff11c4644e9a59848c325263 --- includes/job/JobQueue.php | 2 +- includes/job/JobQueueDB.php | 2 +- includes/job/JobQueueRedis.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/job/JobQueue.php b/includes/job/JobQueue.php index 641a61de98..cb01c2e1ce 100644 --- a/includes/job/JobQueue.php +++ b/includes/job/JobQueue.php @@ -118,7 +118,7 @@ abstract class JobQueue { /** * @return Array Subset of (random, timestamp, fifo) */ - abstract public function supportedOrders(); + abstract protected function supportedOrders(); /** * @return string One of (random, timestamp, fifo) diff --git a/includes/job/JobQueueDB.php b/includes/job/JobQueueDB.php index eb01c3e9a8..52d2bfedc7 100644 --- a/includes/job/JobQueueDB.php +++ b/includes/job/JobQueueDB.php @@ -50,7 +50,7 @@ class JobQueueDB extends JobQueue { $this->cluster = isset( $params['cluster'] ) ? $params['cluster'] : false; } - public function supportedOrders() { + protected function supportedOrders() { return array( 'random', 'timestamp', 'fifo' ); } diff --git a/includes/job/JobQueueRedis.php b/includes/job/JobQueueRedis.php index 8e7588ec26..8a4f181216 100644 --- a/includes/job/JobQueueRedis.php +++ b/includes/job/JobQueueRedis.php @@ -52,7 +52,7 @@ class JobQueueRedis extends JobQueue { $this->redisPool = RedisConnectionPool::singleton( $params['redisConfig'] ); } - public function supportedOrders() { + protected function supportedOrders() { return array( 'timestamp', 'fifo' ); } -- 2.20.1