jobqueue: Remove deprecated unused method pushLazyJobs()
authorDerick Alangi <alangiderick@gmail.com>
Sat, 11 May 2019 15:05:58 +0000 (16:05 +0100)
committerKrinkle <krinklemail@gmail.com>
Mon, 13 May 2019 10:37:28 +0000 (10:37 +0000)
Was deprecated in 1.33 and is no longer used anywhere. See usage
below;

Usage
=====

https://codesearch.wmflabs.org/search/?q=%5CbpushLazyJobs%5Cb&i=nope&files=&repos=

Bug: T220656
Change-Id: I4d3f6bc019b8ebc7e504d841fc75acdb08061cb4

RELEASE-NOTES-1.34
includes/jobqueue/JobQueueGroup.php

index faab1e4..6113a5f 100644 (file)
@@ -154,6 +154,7 @@ because of Phabricator reports.
 * ApiQueryBase::prepareUrlQuerySearchString(), deprecated in 1.33, has been
   removed.
 * ChangeTags::purgeTagUsageCache(), deprecated in 1.33, has been removed.
+* JobQueueGroup::pushLazyJobs(), deprecated in 1.33, has been removed.
 * …
 
 === Deprecations in 1.34 ===
index 83e5fb2..7a0d4ea 100644 (file)
@@ -187,10 +187,6 @@ class JobQueueGroup {
        /**
         * Buffer jobs for insertion via push() or call it now if in CLI mode
         *
-        * Note that pushLazyJobs() is registered as a deferred update just before
-        * DeferredUpdates::doUpdates() in MediaWiki and JobRunner classes in order
-        * to be executed as the very last deferred update (T100085, T154425).
-        *
         * @param IJobSpecification|IJobSpecification[] $jobs A single Job or a list of Jobs
         * @return void
         * @since 1.26
@@ -214,17 +210,6 @@ class JobQueueGroup {
                DeferredUpdates::addUpdate( new JobQueueEnqueueUpdate( $this->domain, $jobs ) );
        }
 
-       /**
-        * Push all jobs buffered via lazyPush() into their respective queues
-        *
-        * @return void
-        * @since 1.26
-        * @deprecated Since 1.33 Not needed anymore
-        */
-       public static function pushLazyJobs() {
-               wfDeprecated( __METHOD__, '1.33' );
-       }
-
        /**
         * Pop a job off one of the job queues
         *