dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb359ba
)
Just throw an exception, rather than calling wfDie()
author
Chad Horohoe
<demon@users.mediawiki.org>
Sun, 22 May 2011 17:57:29 +0000
(17:57 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Sun, 22 May 2011 17:57:29 +0000
(17:57 +0000)
languages/LanguageConverter.php
patch
|
blob
|
history
diff --git
a/languages/LanguageConverter.php
b/languages/LanguageConverter.php
index
1264d1e
..
1332ae7
100644
(file)
--- 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" );
}
/**