From 8aa8867360203967e2d4fb88ce394358b11936a4 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 6 Mar 2008 14:47:10 +0000 Subject: [PATCH] Updated events git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9393 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/gosaTriggered.pm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gosa-si/server/events/gosaTriggered.pm b/gosa-si/server/events/gosaTriggered.pm index eef5d60bd..79143ff9c 100644 --- a/gosa-si/server/events/gosaTriggered.pm +++ b/gosa-si/server/events/gosaTriggered.pm @@ -329,8 +329,13 @@ sub trigger_action_activate { change_goto_state('active', \@{$msg_hash->{target}}); - my @out_msg_l; - return @out_msg_l; + my $out_hash = &create_xml_hash("set_activated_for_installation", $source, $macaddress); + if( exists $msg_hash->{'jobdb_id'} ) { + &add_content2xml_hash($out_hash, 'jobdb_id', @{$msg_hash->{'jobdb_id'}}[0]); + } + my $out_msg = &create_xml_string($out_hash); + + return ( $out_msg ); } -- 2.30.2