From: janw Date: Fri, 25 Apr 2008 14:41:44 +0000 (+0000) Subject: Implemented usr_msg. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=028f6a5286d0fe4374cb3d45637516206e5c3ca8;p=gosa.git Implemented usr_msg. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10698 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/client/events/gosaTriggered.pm b/gosa-si/client/events/gosaTriggered.pm index b63aa8fc6..a5077f13d 100644 --- a/gosa-si/client/events/gosaTriggered.pm +++ b/gosa-si/client/events/gosaTriggered.pm @@ -36,18 +36,7 @@ sub usr_msg { my $to = @{$msg_hash->{'usr'}}[0]; my $subject = &decode_base64(@{$msg_hash->{'subject'}}[0]); my $message = &decode_base64(@{$msg_hash->{'message'}}[0]); - -print STDERR "\n\n\n##############################\n"; -print STDERR "message to: $to\n"; -print STDERR "subject: $subject\n"; -print STDERR "message: $message\n"; -print STDERR "##############################\n\n\n"; -# do, what ever you want -# konch -# kdialog -# ... - - + system( "/usr/bin/goto-notify user-message '$to' '$subject' '$message'" ); # give gosa-si-server feedback, that msg was received $msg =~ s/
usr_msg<\/header>/
confirm_usr_msg<\/header>/g;