Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2019-12-08 15:56:51 +0300
committerAleksander Machniak <alec@alec.pl>2019-12-08 15:56:51 +0300
commitd8d29241a602098c3787328877dc4a1fb5956afc (patch)
tree36829d03dec936720958b2eb2774e39db72ddc45 /program
parent0aa5eca1fdd72117a3de2764458ba9288dba0b46 (diff)
Remove redundant spellcheck_langs env variable
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/compose.inc6
1 files changed, 0 insertions, 6 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index ba87f71a4..7f003dc9b 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -454,11 +454,6 @@ function rcmail_spellchecker_init()
$lang = 'en';
}
- $editor_lang_set = array();
- foreach ($spellcheck_langs as $key => $name) {
- $editor_lang_set[] = ($key == $lang ? '+' : '') . rcube::JQ($name).'='.rcube::JQ($key);
- }
-
// include GoogieSpell
$OUTPUT->include_script('googiespell.js');
$OUTPUT->add_script(sprintf(
@@ -487,7 +482,6 @@ function rcmail_spellchecker_init()
), 'foot');
$OUTPUT->add_label('checking');
- $OUTPUT->set_env('spellcheck_langs', join(',', $editor_lang_set));
$OUTPUT->set_env('spell_langs', $spellcheck_langs);
$OUTPUT->set_env('spell_lang', $lang);
}