Don't call $wgOut->disable() from wfHttpError if $wgOut isn't set up yet
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 12 Jan 2015 21:46:18 +0000 (16:46 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 12 Jan 2015 21:48:40 +0000 (16:48 -0500)
commit7d9161241149002e9216ca484b89c153e4e8c03f
treed2494d0055042d687532eb11213ae4deb350c85e
parent1e76c2a14e5a6e715bc496a74e582ddcf6d066a7
Don't call $wgOut->disable() from wfHttpError if $wgOut isn't set up yet

For example, if the database cannot be connected to, the language is
something other than 'en', and the l10n cache is LCStoreDB, then the
call to Language::factory() in Setup.php line 604 will do it when it's
trying to get the fallback list.

Bug: T86398
Change-Id: Ia0e9ea440dcc4c8ab7bab1f33802aeff487eb3f0
includes/GlobalFunctions.php