From: Moritz Bunkus Date: Tue, 12 Jun 2007 15:26:58 +0000 (+0000) Subject: In der Kürze liegt die Würze. X-Git-Tag: release-2.4.3^2~156 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0bc62174577aa191a65ca59eccb32e176f9f7712;p=kivitendo-erp.git In der Kürze liegt die Würze. --- diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index 5f44cd2d4..74d3c30a6 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -26,12 +26,7 @@ sub module_available { } sub test_all_modules { - my @missing_modules; - - map({ push(@missing_modules, $_) unless (module_available($_->{"name"})); } - @required_modules); - - return @missing_modules; + return grep { !module_available($_->{name}) } @required_modules; } 1;