Clean up the mess that is wfDie (resolves r85918). wfDie() doesn't exist anymore...
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 6 Jul 2011 21:01:12 +0000 (21:01 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 6 Jul 2011 21:01:12 +0000 (21:01 +0000)
commitb91ace27d9fd0bc24e1a53ac1a4d553d037d7d1c
tree05b24c4fb60a2eac37303e4bf744dabe7612128a
parent54d8f55be71e90a3c844dd1aebf7d41361f2121f
Clean up the mess that is wfDie (resolves r85918). wfDie() doesn't exist anymore, so don't use it.

The only two usages left since r91590 are php version checks for index/load/api.php, and $wgAPIEnabled check in api.php. Consolidate all of the "bailing for invalid version" into PHPVersionError.php. Leaving $wgAPIEnabled as the only user was silly, so just echo and die like wfDie() would've done
api.php
includes/GlobalFunctions.php
index.php
load.php
maintenance/Maintenance.php