diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-11-14 16:12:44 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-11-14 16:12:44 -0500 |
commit | 2fc402f6733573627ad25394d109b9f848ef04f6 (patch) | |
tree | efc0407ef780742bee91886287bacb0c9b5903c1 /app/Notification | |
parent | d0925d99e78843ef3c633aac052880fc271ac299 (diff) |
Fix PHP error when adding a new user with email notification enabled
Diffstat (limited to 'app/Notification')
-rw-r--r-- | app/Notification/Mail.php | 7 | ||||
-rw-r--r-- | app/Notification/Web.php | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/app/Notification/Mail.php b/app/Notification/Mail.php index cd8af852..98bffef2 100644 --- a/app/Notification/Mail.php +++ b/app/Notification/Mail.php @@ -17,6 +17,13 @@ use Kanboard\Model\Subtask; class Mail extends Base implements NotificationInterface { /** + * Notification type + * + * @var string + */ + const TYPE = 'email'; + + /** * Send notification to a user * * @access public diff --git a/app/Notification/Web.php b/app/Notification/Web.php index 989ae06e..9271c193 100644 --- a/app/Notification/Web.php +++ b/app/Notification/Web.php @@ -13,6 +13,13 @@ use Kanboard\Core\Base; class Web extends Base implements NotificationInterface { /** + * Notification type + * + * @var string + */ + const TYPE = 'web'; + + /** * Send notification to a user * * @access public |