From: Aaron Schulz Date: Sun, 15 Feb 2015 21:50:33 +0000 (-0800) Subject: Explicitly mark HTMLCacheUpdateJob jobs that are recursive for clarity X-Git-Tag: 1.31.0-rc.0~12228^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=5c16f0760f8013b576008d48beb7f80ada53ff32;p=lhc%2Fweb%2Fwiklou.git Explicitly mark HTMLCacheUpdateJob jobs that are recursive for clarity Change-Id: I75dbe719ef034d4714d4d8262d1dee9fa78ba76b --- 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 } ); } - } }