Code

adjust regex in gosa-si looking for seen user messages
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 8 Nov 2008 08:46:13 +0000 (08:46 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 8 Nov 2008 08:46:13 +0000 (08:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12975 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-client

index 933b2fa4ad1e6b6f9c0a1a15674032c01226620e..83ff2b2b43a067077b07e0621ccbbbea8849ef67 100755 (executable)
@@ -782,7 +782,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