From da7e09853fed708b848a4d8d1d7f2e495860b6c0 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Tue, 30 Sep 2008 11:25:31 +0000 Subject: [PATCH] update: delete double entries of currently logged in useres git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12563 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/clMessages.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gosa-si/server/events/clMessages.pm b/gosa-si/server/events/clMessages.pm index 5610248fc..6e26295b5 100644 --- a/gosa-si/server/events/clMessages.pm +++ b/gosa-si/server/events/clMessages.pm @@ -272,6 +272,7 @@ sub set_last_system { # Prepare login list my @login_list = split(' ', @{$msg_hash->{$header}}[0] ); + @login_list = &main::del_doubles(@login_list); # Sanity check of login list if (@login_list == 0) { @@ -330,8 +331,8 @@ sub set_last_system { $result->{'errorMessage'}."\n". "\tbase: $main::ldap_base\n". "\tscope: 'sub'\n". - "\tfilter: 'uid=$user'", 1); - &main::daemon_log("$session_id ERROR: $msg", 1); + "\tfilter: 'uid=$user'\n". + "\tmessage: $msg", 1); } } } -- 2.30.2