From 460e8d1ca0f984f410b57e4d46de356c5dc1b0dc Mon Sep 17 00:00:00 2001 From: janw Date: Mon, 2 Jun 2008 13:17:01 +0000 Subject: [PATCH] Removed typos and errors. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11147 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/gosaTriggered.pm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gosa-si/server/events/gosaTriggered.pm b/gosa-si/server/events/gosaTriggered.pm index 975bdc10b..1b21bc4f1 100644 --- a/gosa-si/server/events/gosaTriggered.pm +++ b/gosa-si/server/events/gosaTriggered.pm @@ -953,17 +953,10 @@ sub trigger_activate_new { # Delete job $main::job_db->exec_statement("DELETE FROM jobs WHERE id = $jobdb_id"); - my %data; - my $out_msg = &build_msg("activate_new", $target, $source, \%data); - my $forward_to_gosa = @{$msg_hash->{'forward_to_gosa'}}[0]; - if (defined $forward_to_gosa) { - $out_msg =~s/<\/xml>/$forward_to_gosa<\/forward_to_gosa><\/xml>/; - } - # create set_activated_for_installation message for delivery my $out_hash = &create_xml_hash("set_activated_for_installation", $source, $target); my $out_msg = &create_xml_string($out_hash); - my $out_msg_l = ($out_msg); + my @out_msg_l = ($out_msg); return @out_msg_l; } -- 2.30.2