Code

Removed typos and errors.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 2 Jun 2008 13:17:01 +0000 (13:17 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 2 Jun 2008 13:17:01 +0000 (13:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11147 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/server/events/gosaTriggered.pm

index 975bdc10b3e9dc104ed8681f7534cde7b5b6cd58..1b21bc4f1c0cded41eb9bfbea8cd0741a30d5a4d 100644 (file)
@@ -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<\/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;
 }