Commit 918ba9e0ec3a77519ce6d80659b8aca1b9effa2c

Authored by Megan Watson
1 parent 227109e4

Added DownloadDocument as a notification action.

Jira: KTLE-450

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