From: rettenbe Date: Thu, 18 Jun 2009 14:21:22 +0000 (+0000) Subject: bugfixing user messaging function, use goto_notify suffix instead of prefix X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=48bf0812fc0107d2fdf41df1ff3a77a8d89ce48c;p=gosa.git bugfixing user messaging function, use goto_notify suffix instead of prefix git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13733 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index 7babcca8c..0fb1c1be6 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -818,7 +818,7 @@ sub trigger_seen_messages { # Select all files under /tmp with prefix 'goto_notify' my $goto_dir = "/tmp"; opendir(DIR, $goto_dir); - my @goto_files = grep { /^goto_notify_/ && -f "$goto_dir/$_" } readdir(DIR); + my @goto_files = grep { /.+\.goto_notify$/ && -f "$goto_dir/$_" } readdir(DIR); closedir DIR; # Check if file has 'seen' tag