Revert r58635 and related, unnecessary and incorrect use of the hook mechanism

This commit is contained in:
Tim Starling 2010-02-09 06:12:15 +00:00
parent 2e2c089898
commit 8557f29f5e
2 changed files with 0 additions and 6 deletions

View file

@ -552,11 +552,6 @@ $user: the user who did the block (not the one being blocked)
'BookInformation': Before information output on Special:Booksources
$isbn: ISBN to show information for
$output: OutputPage object in use
'CacheHeadersAfterSet': after cache headers have been set in
OutputPage::sendCacheControl, so they can be overridden without
disabling output method
$out: OutputPage instance
'CategoryPageView': before viewing a categorypage in CategoryPage::view
$catpage: CategoryPage instance

View file

@ -1401,7 +1401,6 @@ class OutputPage {
$response->header( 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate' );
$response->header( 'Pragma: no-cache' );
}
wfRunHooks('CacheHeadersAfterSet', array( $this ) );
}
/**