Code

event set_activated_for_installation do not trigger new_ldap_config, this is a job...
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Apr 2008 15:26:22 +0000 (15:26 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Apr 2008 15:26:22 +0000 (15:26 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10515 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/server/events/gosaTriggered.pm

index f4feb3091b797f8087c4301bbcc0b0ff886c6c45..aa9fada4f2890729333d1ba9d5a51da4dc1ee392 100644 (file)
@@ -398,7 +398,7 @@ sub set_activated_for_installation {
     my $target = @{$msg_hash->{target}}[0];
        my @out_msg_l;
 
-       # create set_activated_for_installation message
+       # update status of job 
     my $jobdb_id = @{$msg_hash->{'jobdb_id'}}[0];
     if( defined $jobdb_id) {
         my $sql_statement = "UPDATE $main::job_queue_tn SET status='processed' WHERE id='$jobdb_id'";
@@ -406,6 +406,7 @@ sub set_activated_for_installation {
         my $res = $main::job_db->exec_statement($sql_statement);
     }
 
+       # create set_activated_for_installation message for delivery
     my $out_hash = &create_xml_hash("set_activated_for_installation", $source, $target);
     if( defined $jobdb_id ) { 
         &add_content2xml_hash($out_hash, 'jobdb_id', $jobdb_id); 
@@ -413,11 +414,6 @@ sub set_activated_for_installation {
     my $out_msg = &create_xml_string($out_hash);
        push(@out_msg_l, $out_msg); 
 
-       # create new_ldap_config message, client is waiting for that piece of information
-       my $new_ldap_config_out = &main::new_ldap_config($source, $session_id);
-       push(@out_msg_l, $new_ldap_config_out);
-
-
     return @out_msg_l;
 }