From 0da88d54f09367ac93b7ba547b5e5bdc48d03d13 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Wed, 16 Sep 2009 13:28:27 +0000 Subject: [PATCH] fixing the user notification switch git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14259 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/client/events/gosaTriggered.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gosa-si/client/events/gosaTriggered.pm b/gosa-si/client/events/gosaTriggered.pm index 93ddbed27..e73b69f7c 100644 --- a/gosa-si/client/events/gosaTriggered.pm +++ b/gosa-si/client/events/gosaTriggered.pm @@ -56,8 +56,8 @@ END {} ### Parameter declarations ################################################### my $userNotification; my %cfg_defaults = ( -"ClientPackages" => { - "user-notification-of-admin-activities" => [\$userNotification, 'enabled'], +"client" => { + "user-notification-of-admin-activities" => [\$userNotification, 'true'], }, ); @@ -187,7 +187,7 @@ sub trigger_action_localboot { } # Check if user should be notificated or not - if ($userNotification eq "enabled") { + if ($userNotification eq "true") { # Check logged in user my @user_list = &get_logged_in_users; if( @user_list >= 1 ) { @@ -286,7 +286,7 @@ sub trigger_action_reboot { } # Check if user should be notificated or not - if ($userNotification eq "enabled") { + if ($userNotification eq "true") { # Check logged in user my @user_list = &get_logged_in_users; if( @user_list >= 1 ) { @@ -348,7 +348,7 @@ sub trigger_action_halt { } # Check if user should be notificated or not - if ($userNotification eq "enabled") { + if ($userNotification eq "true") { # Check logged in user my @user_list = &get_logged_in_users; if( @user_list >= 1 ) { @@ -400,7 +400,7 @@ sub trigger_action_reinstall { my ($msg, $msg_hash) = @_; # Check if user should be notificated or not - if ($userNotification eq "enabled") { + if ($userNotification eq "true") { # Check logged in user my @user_list = &get_logged_in_users; if( @user_list >= 1 ) { -- 2.30.2