diff options
author | Aleksander Machniak <alec@alec.pl> | 2019-12-08 15:56:51 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2019-12-08 15:56:51 +0300 |
commit | d8d29241a602098c3787328877dc4a1fb5956afc (patch) | |
tree | 36829d03dec936720958b2eb2774e39db72ddc45 /program | |
parent | 0aa5eca1fdd72117a3de2764458ba9288dba0b46 (diff) |
Remove redundant spellcheck_langs env variable
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/mail/compose.inc | 6 |
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); } |