From 4485c8293edfd02d6768fb8c11e7df81623a5171 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Wed, 16 Apr 2008 15:26:22 +0000 Subject: [PATCH] event set_activated_for_installation do not trigger new_ldap_config, this is a job for gosa git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10515 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/gosaTriggered.pm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gosa-si/server/events/gosaTriggered.pm b/gosa-si/server/events/gosaTriggered.pm index f4feb3091..aa9fada4f 100644 --- a/gosa-si/server/events/gosaTriggered.pm +++ b/gosa-si/server/events/gosaTriggered.pm @@ -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; } -- 2.30.2