mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-44523 events: Changing edulevels to make them consistent with other events
This commit is contained in:
parent
5fd0df97c5
commit
93d14b8ad1
6 changed files with 6 additions and 6 deletions
|
@ -43,7 +43,7 @@ class recent_activity_viewed extends base {
|
||||||
*/
|
*/
|
||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data['crud'] = 'r';
|
$this->data['crud'] = 'r';
|
||||||
$this->data['edulevel'] = self::LEVEL_OTHER;
|
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -49,7 +49,7 @@ class user_report_viewed extends \core\event\base {
|
||||||
*/
|
*/
|
||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data['crud'] = 'r';
|
$this->data['crud'] = 'r';
|
||||||
$this->data['edulevel'] = self::LEVEL_OTHER;
|
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -49,7 +49,7 @@ class report_downloaded extends \core\event\base {
|
||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data['objecttable'] = 'survey';
|
$this->data['objecttable'] = 'survey';
|
||||||
$this->data['crud'] = 'r';
|
$this->data['crud'] = 'r';
|
||||||
$this->data['edulevel'] = self::LEVEL_OTHER;
|
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -49,7 +49,7 @@ class report_viewed extends \core\event\base {
|
||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data['objecttable'] = 'survey';
|
$this->data['objecttable'] = 'survey';
|
||||||
$this->data['crud'] = 'r';
|
$this->data['crud'] = 'r';
|
||||||
$this->data['edulevel'] = self::LEVEL_OTHER;
|
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -42,7 +42,7 @@ class activity_report_viewed extends \core\event\base {
|
||||||
*/
|
*/
|
||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data['crud'] = 'r';
|
$this->data['crud'] = 'r';
|
||||||
$this->data['edulevel'] = self::LEVEL_OTHER;
|
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -48,7 +48,7 @@ class report_viewed extends \core\event\base {
|
||||||
*/
|
*/
|
||||||
protected function init() {
|
protected function init() {
|
||||||
$this->data['crud'] = 'r';
|
$this->data['crud'] = 'r';
|
||||||
$this->data['edulevel'] = self::LEVEL_OTHER;
|
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue