MDL-42558 events: Enrollment actions are administration not teaching
This commit is contained in:
@@ -40,7 +40,7 @@ class user_enrolment_created extends base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'user_enrolments';
|
||||
$this->data['crud'] = 'c';
|
||||
$this->data['level'] = self::LEVEL_TEACHING;
|
||||
$this->data['level'] = self::LEVEL_OTHER;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -40,7 +40,7 @@ class user_enrolment_deleted extends base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'user_enrolments';
|
||||
$this->data['crud'] = 'd';
|
||||
$this->data['level'] = self::LEVEL_TEACHING;
|
||||
$this->data['level'] = self::LEVEL_OTHER;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -40,7 +40,7 @@ class user_enrolment_updated extends base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'user_enrolments';
|
||||
$this->data['crud'] = 'u';
|
||||
$this->data['level'] = self::LEVEL_TEACHING;
|
||||
$this->data['level'] = self::LEVEL_OTHER;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user