Removed single-purpose HTMLCacheUpdate::doUpdate hook, now unused
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 7 Oct 2010 18:12:27 +0000 (18:12 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 7 Oct 2010 18:12:27 +0000 (18:12 +0000)
docs/hooks.txt
includes/HTMLCacheUpdate.php

index d4d6bb1..e5ffb0f 100644 (file)
@@ -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.
index 6f90b2d..f0456a2 100644 (file)
@@ -63,7 +63,6 @@ class HTMLCacheUpdate
                                $this->invalidateTitles( $titleArray );
                        }
                }
-               wfRunHooks( 'HTMLCacheUpdate::doUpdate', array($this->mTitle) );
        }
 
        /**