From: janw Date: Tue, 15 Apr 2008 10:26:06 +0000 (+0000) Subject: Fixes. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=344e91a1a2e9aaee3f51dcbdd1e7da84d6c5952f;p=gosa.git Fixes. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10457 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 9bd722dca..048089fbf 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1633,7 +1633,7 @@ sub create_fai_server_db { # TODO: Find a way to post the 'create_packages_list_db' event if(!defined($dont_create_packages_list)) { - &create_packages_list_db($ldap_handle); + &create_packages_list_db; } } @@ -1963,7 +1963,7 @@ sub session_run_done { } sub create_sources_list { - my ($ldap_handle) = @_; + my $ldap_handle = &get_ldap_handle; my $result="/tmp/gosa_si_tmp_sources_list"; # Remove old file @@ -1998,7 +1998,7 @@ sub create_sources_list { } sub create_packages_list_db { - my ($ldap_handle, $sources_file) = @_ ; + my ($ldap_handle, $sources_file); if (not defined $ldap_handle) { $ldap_handle= &get_ldap_handle();