Merge branch 'MDL-44523_master' of git://github.com/dmonllao/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2014-07-14 18:06:52 +02:00
commit 8707dae4f8
6 changed files with 6 additions and 6 deletions

View File

@ -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;
} }
/** /**

View File

@ -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;
} }
/** /**

View File

@ -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;
} }
/** /**

View File

@ -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;
} }
/** /**

View File

@ -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;
} }
/** /**

View File

@ -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;
} }
/** /**