From 5c16f0760f8013b576008d48beb7f80ada53ff32 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 15 Feb 2015 13:50:33 -0800 Subject: [PATCH] Explicitly mark HTMLCacheUpdateJob jobs that are recursive for clarity Change-Id: I75dbe719ef034d4714d4d8262d1dee9fa78ba76b --- includes/deferred/HTMLCacheUpdate.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/deferred/HTMLCacheUpdate.php b/includes/deferred/HTMLCacheUpdate.php index e02cfbc7ff..79a10e68e7 100644 --- a/includes/deferred/HTMLCacheUpdate.php +++ b/includes/deferred/HTMLCacheUpdate.php @@ -43,11 +43,11 @@ class HTMLCacheUpdate implements DeferrableUpdate { } public function doUpdate() { - $job = new HTMLCacheUpdateJob( $this->mTitle, array( 'table' => $this->mTable, + 'recursive' => true ) + Job::newRootJobParams( // "overall" refresh links job info "htmlCacheUpdate:{$this->mTable}:{$this->mTitle->getPrefixedText()}" ) @@ -63,6 +63,5 @@ class HTMLCacheUpdate implements DeferrableUpdate { $job->run(); // just do the purge query now } ); } - } } -- 2.20.1