From b2b70eea49121667f0ca0fd13959a862a9244fae Mon Sep 17 00:00:00 2001 From: David Monllao Date: Thu, 30 Oct 2014 12:50:17 +0800 Subject: [PATCH] MDL-47207 mod_forum: Unifying criteria --- mod/forum/classes/event/subscription_created.php | 2 +- mod/forum/classes/event/subscription_deleted.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/forum/classes/event/subscription_created.php b/mod/forum/classes/event/subscription_created.php index 19d53ac8903..9d099669b61 100644 --- a/mod/forum/classes/event/subscription_created.php +++ b/mod/forum/classes/event/subscription_created.php @@ -48,7 +48,7 @@ class subscription_created extends \core\event\base { */ protected function init() { $this->data['crud'] = 'c'; - $this->data['edulevel'] = self::LEVEL_OTHER; + $this->data['edulevel'] = self::LEVEL_PARTICIPATING; $this->data['objecttable'] = 'forum_subscriptions'; } diff --git a/mod/forum/classes/event/subscription_deleted.php b/mod/forum/classes/event/subscription_deleted.php index f011059448c..97892b0a8d5 100644 --- a/mod/forum/classes/event/subscription_deleted.php +++ b/mod/forum/classes/event/subscription_deleted.php @@ -48,7 +48,7 @@ class subscription_deleted extends \core\event\base { */ protected function init() { $this->data['crud'] = 'd'; - $this->data['edulevel'] = self::LEVEL_OTHER; + $this->data['edulevel'] = self::LEVEL_PARTICIPATING; $this->data['objecttable'] = 'forum_subscriptions'; }