MDL-42558 events: Enrollment actions are administration not teaching

This commit is contained in:
Ankit Agarwal
2013-10-28 11:51:39 +08:00
parent 68291f2d57
commit a993b0b93a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;
}
/**
+1 -1
View File
@@ -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;
}
/**
+1 -1
View File
@@ -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;
}
/**