r88587 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r88586
|
r88587
|
r88588
>
Date:
17:57, 22 May 2011
Author:
demon
Status:
ok
Tags:
Comment:
Just throw an exception, rather than calling wfDie()
Modified paths:
/trunk/phase3/languages/LanguageConverter.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/languages/LanguageConverter.php
—
—
@@ -794,7 +794,7 @@
795
795
*/
796
796
function loadDefaultTables() {
797
797
$name = get_class( $this );
798
- wfDie( "Must implement loadDefaultTables() method in class $name" );
798
+ throw new MWException( "Must implement loadDefaultTables() method in class $name" );
799
799
}
800
800
801
801
/**
Status & tagging log
20:47, 25 May 2011
IAlex
(
talk
|
contribs
)
changed the
status
of r88587
[
removed:
new
added:
ok]