From 726a28be36901a38896d6314822d5115b1ef9717 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 25 Jan 2015 19:53:21 +0000 Subject: Having no installed languages is no longer fatal --- library/WT/I18N.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'library') diff --git a/library/WT/I18N.php b/library/WT/I18N.php index 4258d6c9bf..f771aa0e1b 100644 --- a/library/WT/I18N.php +++ b/library/WT/I18N.php @@ -349,10 +349,6 @@ class WT_I18N { $installed_languages[$match[1]] = $tmp2 . '|' . $tmp1; } } - if (empty($installed_languages)) { - // We cannot translate this - die('There are no languages installed. You must include at least one xx.mo file in /language/'); - } // Sort by the combined language/language name... uasort($installed_languages, array('WT_I18N', 'strcasecmp')); foreach ($installed_languages as &$value) { -- cgit v1.3