From: Aaron Schulz Date: Thu, 7 Oct 2010 18:12:27 +0000 (+0000) Subject: Removed single-purpose HTMLCacheUpdate::doUpdate hook, now unused X-Git-Tag: 1.31.0-rc.0~34589 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=d6086a51bfb60c3bce4623207f5ac04f158737e2;p=lhc%2Fweb%2Fwiklou.git Removed single-purpose HTMLCacheUpdate::doUpdate hook, now unused --- 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) ); } /**