From 9153c6ff0ddb3170928d33599d9178e67ca466b6 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 12:53:11 -0400 Subject: Move ProjectActivitySubscriber to a new notification type --- app/Model/ProjectActivity.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Model') diff --git a/app/Model/ProjectActivity.php b/app/Model/ProjectActivity.php index 2cc1c975..032c1fa6 100644 --- a/app/Model/ProjectActivity.php +++ b/app/Model/ProjectActivity.php @@ -238,6 +238,8 @@ class ProjectActivity extends Base return t('%s updated a comment on the task #%d', $event['author'], $event['task']['id']); case Comment::EVENT_CREATE: return t('%s commented on the task #%d', $event['author'], $event['task']['id']); + case File::EVENT_CREATE: + return t('%s attached a file to the task #%d', $event['author'], $event['task']['id']); default: return ''; } -- cgit v1.2.3