Revision a064deaf
Von Sven Schöling vor etwa 13 Jahren hinzugefügt
SL/AM.pm | ||
---|---|---|
1386 | 1386 |
|
1387 | 1387 |
my $self = shift; |
1388 | 1388 |
|
1389 |
if (!$main::all_units) {
|
|
1390 |
$main::all_units = $self->retrieve_units(\%main::myconfig, $main::form);
|
|
1389 |
if (!$::request->{cache}{all_units}) {
|
|
1390 |
$::request->{cache}{all_units} = $self->retrieve_units(\%main::myconfig, $main::form);
|
|
1391 | 1391 |
} |
1392 | 1392 |
|
1393 | 1393 |
$main::lxdebug->leave_sub(); |
1394 | 1394 |
|
1395 |
return $main::all_units;
|
|
1395 |
return $::request->{cache}{all_units};
|
|
1396 | 1396 |
} |
1397 | 1397 |
|
1398 | 1398 |
|
Auch abrufbar als: Unified diff
$::all_units in $::request gecacht.