Revision 86183dc1
Von Moritz Bunkus vor mehr als 7 Jahren hinzugefügt
SL/DB/Helper/CustomVariables.pm | ||
---|---|---|
}
|
||
|
||
return $params{module} && !ref $params{module} ? $cache->{module}{$params{module}}
|
||
: $params{module} && ref $params{module} ? [ map { @{ $cache->{module}{$_} } } @{ $params{module} } ]
|
||
: $params{module} && ref $params{module} ? [ map { @{ $cache->{module}{$_} // [] } } @{ $params{module} } ]
|
||
: $cache->{all};
|
||
}
|
||
|
Auch abrufbar als: Unified diff
CustomVariables: Caching bei nicht existierenden CVars für ein Modul gefixt