Code

more infos for recreate_fai_server
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Apr 2008 13:48:36 +0000 (13:48 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Apr 2008 13:48:36 +0000 (13:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10478 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index f5d6b85ddb75189002cb68791a589c9d4033c1c5..076894ececee3d4fb7db435996d7623a6ee57f52 100755 (executable)
@@ -2001,7 +2001,7 @@ sub create_sources_list {
 }
 
 sub create_packages_list_db {
-    my ($ldap_handle, $sources_file);
+    my ($ldap_handle, $sources_file, $session_id);
 
        if (not defined $ldap_handle) { 
                $ldap_handle= &get_ldap_handle();
@@ -2011,10 +2011,10 @@ sub create_packages_list_db {
                        return;
                }
        }
-
     if (not defined $sources_file) { 
         $sources_file = &create_sources_list;
     }
+       if (not defined $session_id) { $session_id = 0; }
 
     my $line;
     daemon_log("INFO: create_packages_list_db: start", 5);