diff options
Diffstat (limited to 'includes/deferred/HTMLCacheUpdate.php')
-rw-r--r-- | includes/deferred/HTMLCacheUpdate.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/includes/deferred/HTMLCacheUpdate.php b/includes/deferred/HTMLCacheUpdate.php index 54fa5943..79a10e68 100644 --- a/includes/deferred/HTMLCacheUpdate.php +++ b/includes/deferred/HTMLCacheUpdate.php @@ -43,12 +43,11 @@ class HTMLCacheUpdate implements DeferrableUpdate { } public function doUpdate() { - wfProfileIn( __METHOD__ ); - $job = new HTMLCacheUpdateJob( $this->mTitle, array( 'table' => $this->mTable, + 'recursive' => true ) + Job::newRootJobParams( // "overall" refresh links job info "htmlCacheUpdate:{$this->mTable}:{$this->mTitle->getPrefixedText()}" ) @@ -64,7 +63,5 @@ class HTMLCacheUpdate implements DeferrableUpdate { $job->run(); // just do the purge query now } ); } - - wfProfileOut( __METHOD__ ); } } |