MWException: Log stack traces for php errors (not exceptions)
authorTimo Tijhof <krinklemail@gmail.com>
Sun, 16 Nov 2014 11:49:25 +0000 (12:49 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Sun, 16 Nov 2014 13:37:15 +0000 (14:37 +0100)
commit399ba2fecfe098b45b2064380eadcac0b24b9a4a
treed5808db0f8a61d1cff4d9fc876381b09fb408fb2
parentde6141bc5745dd25d9522bdedea1362331cae100
MWException: Log stack traces for php errors (not exceptions)

* Remove use of 'error' where it's redundant.
* Remove call to logException from responsibility of MWException.
  Call from exception handler instead.

Change-Id: I8764cf5df87b226813c9b9cf99f9b4f3fa4b7c92
includes/MediaWiki.php
includes/exception/MWException.php
includes/exception/MWExceptionHandler.php
tests/phpunit/phpunit.php