summaryrefslogtreecommitdiff
path: root/app/Notification/Web.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-11-14 16:12:44 -0500
committerFrederic Guillot <fred@kanboard.net>2015-11-14 16:12:44 -0500
commit2fc402f6733573627ad25394d109b9f848ef04f6 (patch)
treeefc0407ef780742bee91886287bacb0c9b5903c1 /app/Notification/Web.php
parentd0925d99e78843ef3c633aac052880fc271ac299 (diff)
Fix PHP error when adding a new user with email notification enabled
Diffstat (limited to 'app/Notification/Web.php')
-rw-r--r--app/Notification/Web.php7
1 files changed, 7 insertions, 0 deletions
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