diff options
| author | Frederic Guillot <fred@kanboard.net> | 2015-10-17 12:53:11 -0400 |
|---|---|---|
| committer | Frederic Guillot <fred@kanboard.net> | 2015-10-17 12:53:11 -0400 |
| commit | 9153c6ff0ddb3170928d33599d9178e67ca466b6 (patch) | |
| tree | 450891d77f14baf1df068d23609ff326345ef41f /app/Model/ProjectActivity.php | |
| parent | 472f94efee77d8f47ece4ead7d36ee02e5df3e56 (diff) | |
Move ProjectActivitySubscriber to a new notification type
Diffstat (limited to 'app/Model/ProjectActivity.php')
| -rw-r--r-- | app/Model/ProjectActivity.php | 2 |
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 ''; } |
