X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FOutputPage.php;h=67e9a4ff82b922d79e948bdd166fcc429aa58046;hb=debe691b63e4ceb6533020a3a96697a8b7debec7;hp=c724207034401adc56e8b76b384a7d896448b66b;hpb=133d9872aa1dd5d5aab3b5ff84d5e2656ed89c13;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/OutputPage.php b/includes/OutputPage.php index c724207034..67e9a4ff82 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -780,7 +780,7 @@ class OutputPage extends ContextSource { // bug 44570: the core page itself may not change, but resources might $modifiedTimes['sepoch'] = wfTimestamp( TS_MW, time() - $config->get( 'SquidMaxage' ) ); } - Hooks::run( 'OutputPageCheckLastModified', [ &$modifiedTimes ] ); + Hooks::run( 'OutputPageCheckLastModified', [ &$modifiedTimes, $this ] ); $maxModified = max( $modifiedTimes ); $this->mLastModified = wfTimestamp( TS_RFC2822, $maxModified );