diff options
author | Chad Horohoe <demon@users.mediawiki.org> | 2011-05-30 00:18:10 +0000 |
---|---|---|
committer | Chad Horohoe <demon@users.mediawiki.org> | 2011-05-30 00:18:10 +0000 |
commit | 0bafff5109da01f3093ad42c9c822c8575c147fd (patch) | |
tree | 27eb8722688202463b079aedcf64a84940a7837f /index.php | |
parent | 24533371c7b3e4f298db213b8081ebd40ec1c582 (diff) | |
download | mediawikicore-0bafff5109da01f3093ad42c9c822c8575c147fd.tar.gz mediawikicore-0bafff5109da01f3093ad42c9c822c8575c147fd.zip |
Misc. exception handling cleanup--moved it out of global function namespace
Also removed htmlHeader() and htmlFooter() since it has zero callers anywhere.
Not sure why useOutputPage() was checking isArticleRelated(), we should be able do use it with other stuff too
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/89144
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php index 9caed7a9893f..4f8950c8850f 100644 --- a/index.php +++ b/index.php @@ -69,7 +69,7 @@ require ( dirname( __FILE__ ) . '/includes/WebStart.php' ); try { wfIndexMain(); } catch ( Exception $e ) { - wfExceptionHandler( $e ); + MWExceptionHandler::handle( $e ); } function wfIndexMain() { |