From d6086a51bfb60c3bce4623207f5ac04f158737e2 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 7 Oct 2010 18:12:27 +0000 Subject: [PATCH] Removed single-purpose HTMLCacheUpdate::doUpdate hook, now unused --- docs/hooks.txt | 4 ---- includes/HTMLCacheUpdate.php | 1 - 2 files changed, 5 deletions(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index d4d6bb1dea..e5ffb0f82f 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -858,10 +858,6 @@ $result: User permissions error to add. If none, return true. 'getUserPermissionsErrorsExpensive': Absolutely the same, but is called only if expensive checks are enabled. -'HTMLCacheUpdate::doUpdate': After cache invalidation updates are inserted -into the job queue. -$title: Title object, pages linked to this title are purged. - 'ImageBeforeProduceHTML': Called before producing the HTML created by a wiki image insertion. You can skip the default logic entirely by returning false, or just modify a few things using call-by-reference. diff --git a/includes/HTMLCacheUpdate.php b/includes/HTMLCacheUpdate.php index 6f90b2d977..f0456a22e3 100644 --- a/includes/HTMLCacheUpdate.php +++ b/includes/HTMLCacheUpdate.php @@ -63,7 +63,6 @@ class HTMLCacheUpdate $this->invalidateTitles( $titleArray ); } } - wfRunHooks( 'HTMLCacheUpdate::doUpdate', array($this->mTitle) ); } /** -- 2.20.1