summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/ProjectActivity.php2
1 files changed, 2 insertions, 0 deletions
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 '';
}