merged master (2012-09-11)
[lhc/web/wiklou.git] / includes / OutputPage.php
index 2c32c6a..926fbe3 100644 (file)
@@ -1994,7 +1994,11 @@ class OutputPage extends ContextSource {
                wfRunHooks( 'AfterFinalPageOutput', array( $this ) );
 
                $this->sendCacheControl();
+
+               wfRunHooks( 'AfterFinalPageOutput', array( &$this ) );
+
                ob_end_flush();
+
                wfProfileOut( __METHOD__ );
        }