aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-20 22:57:17 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-20 22:57:17 +0000
commit8d8c62f3ed7be6691d76824ae82888aba2bb1616 (patch)
tree85b2fb04a981ef8874e26adc717783d10bd2bf12
parent61ca40e8bdce70db2e24a7085197d050309a718d (diff)
downloadelgg-8d8c62f3ed7be6691d76824ae82888aba2bb1616.tar.gz
elgg-8d8c62f3ed7be6691d76824ae82888aba2bb1616.tar.bz2
Fixes #3101 removed language setting from installer until we provide language files besides English
git-svn-id: http://code.elgg.org/elgg/trunk@8794 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--install/ElggInstaller.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php
index a09657f7e..a62ba2bc4 100644
--- a/install/ElggInstaller.php
+++ b/install/ElggInstaller.php
@@ -394,12 +394,6 @@ class ElggInstaller {
'value' => '',
'required' => TRUE,
),
- 'language' => array(
- 'type' => 'dropdown',
- 'value' => 'en',
- 'options_values' => $languages,
- 'required' => TRUE,
- ),
'siteaccess' => array(
'type' => 'access',
'value' => ACCESS_PUBLIC,
@@ -1335,7 +1329,7 @@ class ElggInstaller {
datalist_set('processed_upgrades', serialize($upgrades));
set_config('view', 'default', $site->getGUID());
- set_config('language', $submissionVars['language'], $site->getGUID());
+ set_config('language', 'en', $site->getGUID());
set_config('default_access', $submissionVars['siteaccess'], $site->getGUID());
set_config('allow_registration', TRUE, $site->getGUID());
set_config('walled_garden', FALSE, $site->getGUID());