Revision 999cace7
Von Sven Schöling vor mehr als 7 Jahren hinzugefügt
SL/DB/Helper/CustomVariables.pm | ||
---|---|---|
# easy 2: no module in params? no validity
|
||
return [] unless $params{module};
|
||
|
||
my @module_configs = grep { $_->module eq $params{module} } @$configs;
|
||
my %wanted_modules = ref $params{module} ? map { $_ => 1 } @{ $params{module} } : ($params{module} => 1);
|
||
my @module_configs = grep { $wanted_modules{$_->module} } @$configs;
|
||
|
||
return [] unless @module_configs;
|
||
|
Auch abrufbar als: Unified diff
CustomVariables: Beim Cachen von überlagerten Invalids können mehrere module auftauchen