Merge "Removed executeReadyPeriodicTasks() method"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 12 May 2015 20:03:02 +0000 (20:03 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 12 May 2015 20:03:02 +0000 (20:03 +0000)
1  2 
includes/jobqueue/JobQueueDB.php
includes/jobqueue/JobQueueFederated.php
includes/jobqueue/JobRunner.php

Simple merge
@@@ -373,19 -373,15 +373,7 @@@ class JobQueueFederated extends JobQueu
                $this->throwErrorIfAllPartitionsDown( $failed );
        }
  
-       protected function doGetPeriodicTasks() {
-               $tasks = array();
-               /** @var JobQueue $queue */
-               foreach ( $this->partitionQueues as $partition => $queue ) {
-                       foreach ( $queue->getPeriodicTasks() as $task => $def ) {
-                               $tasks["{$partition}:{$task}"] = $def;
-                       }
-               }
-               return $tasks;
-       }
        protected function doFlushCaches() {
 -              static $types = array(
 -                      'empty',
 -                      'size',
 -                      'acquiredcount',
 -                      'delayedcount',
 -                      'abandonedcount'
 -              );
 -
                /** @var JobQueue $queue */
                foreach ( $this->partitionQueues as $queue ) {
                        $queue->doFlushCaches();
Simple merge