summaryrefslogtreecommitdiff
path: root/app/Notification
diff options
context:
space:
mode:
Diffstat (limited to 'app/Notification')
-rw-r--r--app/Notification/Mail.php7
-rw-r--r--app/Notification/Web.php7
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