X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FInstallationCheck.pm;h=84477884027a71da00f06ea450683bbecb44d485;hb=d8e0c6d81c47bc3a58af6607019ffebc74becc16;hp=9dc3a2e5867c1ef100dc324b07f1bd6758f3a76b;hpb=559eae2013bbd4b634ca55e355fa5b35980cd069;p=kivitendo-erp.git diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index 9dc3a2e58..844778840 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -52,11 +52,8 @@ my %conditional_dependencies; sub check_for_conditional_dependencies { return if $conditional_dependencies{net_ldap}++; - my $self = {}; - eval do { local (@ARGV, $/) = 'config/authentication.pl'; <> } or return; - push @required_modules, { 'name' => 'Net::LDAP', 'url' => 'http://search.cpan.org/~gbarr/' } - if $self->{module} && ($self->{module} eq 'LDAP'); + if $::lx_office_conf{authentication} && ($::lx_office_conf{authentication}->{module} eq 'LDAP'); } sub test_all_modules {