From: cajus Date: Thu, 6 Mar 2008 14:47:10 +0000 (+0000) Subject: Updated events X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8aa8867360203967e2d4fb88ce394358b11936a4;p=gosa.git Updated events git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9393 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 ); }