summaryrefslogtreecommitdiff
path: root/app/Model/Notification.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-27 19:23:51 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-27 19:23:51 -0500
commit1522be603b4508b03b8fa79a6a3fbfeb90ffece6 (patch)
treec26a1249befdfb87ba91abb53a3cb8b22a5178c7 /app/Model/Notification.php
parent17dc5bdc9ede52ad618bbf326e67e3b6988170f7 (diff)
Fixs after replacing the event dispatcher
Diffstat (limited to 'app/Model/Notification.php')
-rw-r--r--app/Model/Notification.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/Model/Notification.php b/app/Model/Notification.php
index ccda1488..0fa4c9da 100644
--- a/app/Model/Notification.php
+++ b/app/Model/Notification.php
@@ -3,9 +3,7 @@
namespace Model;
use Core\Session;
-use Core\Translator;
use Core\Template;
-use Event\NotificationListener;
use Swift_Message;
use Swift_Mailer;
use Swift_TransportException;
@@ -29,8 +27,8 @@ class Notification extends Base
* Get a list of people with notifications enabled
*
* @access public
- * @param integer $project_id Project id
- * @param array $exlude_users List of user_id to exclude
+ * @param integer $project_id Project id
+ * @param array $exclude_users List of user_id to exclude
* @return array
*/
public function getUsersWithNotification($project_id, array $exclude_users = array())
@@ -61,8 +59,8 @@ class Notification extends Base
* Get the list of users to send the notification for a given project
*
* @access public
- * @param integer $project_id Project id
- * @param array $exlude_users List of user_id to exclude
+ * @param integer $project_id Project id
+ * @param array $exclude_users List of user_id to exclude
* @return array
*/
public function getUsersList($project_id, array $exclude_users = array())