merge latest master into Wikidata branch
[lhc/web/wiklou.git] / includes / OutputPage.php
index 02f22d9..a03282a 100644 (file)
@@ -1993,7 +1993,11 @@ class OutputPage extends ContextSource {
                wfRunHooks( 'AfterFinalPageOutput', array( $this ) );
 
                $this->sendCacheControl();
+
+               wfRunHooks( 'AfterFinalPageOutput', array( &$this ) );
+
                ob_end_flush();
+
                wfProfileOut( __METHOD__ );
        }