X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/559eae2013bbd4b634ca55e355fa5b35980cd069..c90b4dcd:/SL/InstallationCheck.pm 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 {