Commit 918ba9e0ec3a77519ce6d80659b8aca1b9effa2c
1 parent
227109e4
Added DownloadDocument as a notification action.
Jira: KTLE-450 Committed by: Megan Watson Reviewed by: JP Bauer
Showing
1 changed file
with
3 additions
and
1 deletions
lib/dashboard/Notification.inc.php
| @@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
| 5 | * KnowledgeTree Community Edition | 5 | * KnowledgeTree Community Edition |
| 6 | * Document Management Made Simple | 6 | * Document Management Made Simple |
| 7 | * Copyright (C) 2008, 2009 KnowledgeTree Inc. | 7 | * Copyright (C) 2008, 2009 KnowledgeTree Inc. |
| 8 | - * | 8 | + * |
| 9 | * | 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify it under | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | * the terms of the GNU General Public License version 3 as published by the | 11 | * the terms of the GNU General Public License version 3 as published by the |
| @@ -207,6 +207,7 @@ class KTSubscriptionNotification extends KTNotificationHandler { | @@ -207,6 +207,7 @@ class KTSubscriptionNotification extends KTNotificationHandler { | ||
| 207 | "ArchivedDocument" => 'document', // can go through and request un-archival (?) | 207 | "ArchivedDocument" => 'document', // can go through and request un-archival (?) |
| 208 | "RestoredArchivedDocument" => 'document', | 208 | "RestoredArchivedDocument" => 'document', |
| 209 | "DiscussDocument" => 'document', | 209 | "DiscussDocument" => 'document', |
| 210 | + "DownloadDocument" => 'document' | ||
| 210 | ); | 211 | ); |
| 211 | 212 | ||
| 212 | function KTSubscriptionNotification() { | 213 | function KTSubscriptionNotification() { |
| @@ -224,6 +225,7 @@ class KTSubscriptionNotification extends KTNotificationHandler { | @@ -224,6 +225,7 @@ class KTSubscriptionNotification extends KTNotificationHandler { | ||
| 224 | "ArchivedDocument" => _kt('Document archived'), // can go through and request un-archival (?) | 225 | "ArchivedDocument" => _kt('Document archived'), // can go through and request un-archival (?) |
| 225 | "RestoredArchivedDocument" => _kt('Document restored'), | 226 | "RestoredArchivedDocument" => _kt('Document restored'), |
| 226 | "DiscussDocument" => _kt('Document Discussions updated'), | 227 | "DiscussDocument" => _kt('Document Discussions updated'), |
| 228 | + "DownloadDocument" => _kt('Document Downloaded') | ||
| 227 | ); | 229 | ); |
| 228 | //parent::KTNotificationHandler(); | 230 | //parent::KTNotificationHandler(); |
| 229 | } | 231 | } |