MDL-44523 events: Changing edulevels to make them consistent with other events

This commit is contained in:
David Monllao 2014-07-03 14:29:07 +08:00
parent 5fd0df97c5
commit 93d14b8ad1
6 changed files with 6 additions and 6 deletions

View File

@ -43,7 +43,7 @@ class recent_activity_viewed extends base {
*/
protected function init() {
$this->data['crud'] = 'r';
$this->data['edulevel'] = self::LEVEL_OTHER;
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
}
/**

View File

@ -49,7 +49,7 @@ class user_report_viewed extends \core\event\base {
*/
protected function init() {
$this->data['crud'] = 'r';
$this->data['edulevel'] = self::LEVEL_OTHER;
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
}
/**

View File

@ -49,7 +49,7 @@ class report_downloaded extends \core\event\base {
protected function init() {
$this->data['objecttable'] = 'survey';
$this->data['crud'] = 'r';
$this->data['edulevel'] = self::LEVEL_OTHER;
$this->data['edulevel'] = self::LEVEL_TEACHING;
}
/**

View File

@ -49,7 +49,7 @@ class report_viewed extends \core\event\base {
protected function init() {
$this->data['objecttable'] = 'survey';
$this->data['crud'] = 'r';
$this->data['edulevel'] = self::LEVEL_OTHER;
$this->data['edulevel'] = self::LEVEL_TEACHING;
}
/**

View File

@ -42,7 +42,7 @@ class activity_report_viewed extends \core\event\base {
*/
protected function init() {
$this->data['crud'] = 'r';
$this->data['edulevel'] = self::LEVEL_OTHER;
$this->data['edulevel'] = self::LEVEL_TEACHING;
}
/**

View File

@ -48,7 +48,7 @@ class report_viewed extends \core\event\base {
*/
protected function init() {
$this->data['crud'] = 'r';
$this->data['edulevel'] = self::LEVEL_OTHER;
$this->data['edulevel'] = self::LEVEL_TEACHING;
}
/**