MDL-47207 mod_forum: Unifying criteria

This commit is contained in:
David Monllao
2014-10-30 12:50:17 +08:00
parent 32a69a7d7a
commit b2b70eea49
2 changed files with 2 additions and 2 deletions
@@ -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';
}
@@ -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';
}