remove WebGUI::Utility::isIn
This commit is contained in:
parent
0e754a51e4
commit
6aa26c2e44
61 changed files with 126 additions and 148 deletions
|
|
@ -57,7 +57,7 @@ sub _getSpeller {
|
|||
# Get language
|
||||
my $speller = Text::Aspell->new;
|
||||
die "Language not available in server side spellcheck"
|
||||
unless (isIn($lang, map {m/^.*?:([^:]*):.*?$/} $speller->list_dictionaries));
|
||||
unless ($lang ~~ [map {m/^.*?:([^:]*):.*?$/} $speller->list_dictionaries]);
|
||||
|
||||
# User homedir
|
||||
my $homeDir = $session->config->get('uploadsPath').'/dictionaries/';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue