Code

bugfixing user messaging function, use goto_notify suffix instead of prefix
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Jun 2009 14:21:22 +0000 (14:21 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Jun 2009 14:21:22 +0000 (14:21 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13733 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-client

index 7babcca8cd1e0cfba22b73055d2e6c6d1fe30ea5..0fb1c1be64c57c57e7536b2689b29752ce84618e 100755 (executable)
@@ -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