Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cadaf439

Von Sven Schöling vor mehr als 7 Jahren hinzugefügt

  • ID cadaf4399df866e8dd9772c6b747126208d55aa8
  • Vorgänger 6c4b42c0
  • Nachfolger 5491ab17

CustomVariables: all_config cache korrekt behandeln für überladene Module

Unterschiede anzeigen:

SL/DB/Helper/CustomVariables.pm
$cache->{module} = { partition_by { $_->module } @$configs };
}
$params{module}
? $cache->{module}{$params{module}}
: $cache->{all};
return $params{module} && !ref $params{module} ? $cache->{module}{$params{module}}
: $params{module} && ref $params{module} ? [ map { @{ $cache->{module}{$_} } } @{ $params{module} } ]
: $cache->{all};
}
sub _overload_by_module {

Auch abrufbar als: Unified diff