MWException: Don't send headers multiple times
authorChad Horohoe <chadh@wikimedia.org>
Tue, 13 May 2014 19:15:06 +0000 (12:15 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Tue, 13 May 2014 21:40:39 +0000 (14:40 -0700)
commitcfbeb437a3bf688f07681d8b900f3d0a13f25497
tree3f0c2dcc3dfdf7047b6d86aac50850e186689ed0
parent2e50b896f1a55667ced32502caa9681c36df7587
MWException: Don't send headers multiple times

Ideally we wouldn't have sent headers yet, but in some weird
code paths where we output stuff raw (like Export) we might
have already sent them.

All depends on when the failure happened.

Should silence all of the "headers already sent" being seen
from exports.

Change-Id: I12e0532e93d30b2255f73a9d0e017c73e30c3e28
includes/exception/MWException.php