Code

update: delete double entries of currently logged in useres
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 30 Sep 2008 11:25:31 +0000 (11:25 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 30 Sep 2008 11:25:31 +0000 (11:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12563 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/server/events/clMessages.pm

index 5610248fc27ebb58d5d46bb106d385f3cb4e94e6..6e26295b598807aa1da4e7ce656d35ea1544c74c 100644 (file)
@@ -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); 
                        }
                }
        }