From: Chad Horohoe Date: Sun, 22 May 2011 17:57:29 +0000 (+0000) Subject: Just throw an exception, rather than calling wfDie() X-Git-Tag: 1.31.0-rc.0~30013 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=c2eb037f749e7355d97bc1fb247c43e7d74b7eab;p=lhc%2Fweb%2Fwiklou.git Just throw an exception, rather than calling wfDie() --- diff --git a/languages/LanguageConverter.php b/languages/LanguageConverter.php index 1264d1e6fb..1332ae70a5 100644 --- a/languages/LanguageConverter.php +++ b/languages/LanguageConverter.php @@ -794,7 +794,7 @@ class LanguageConverter { */ function loadDefaultTables() { $name = get_class( $this ); - wfDie( "Must implement loadDefaultTables() method in class $name" ); + throw new MWException( "Must implement loadDefaultTables() method in class $name" ); } /**