mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'MDL-77024_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
c4840c6b0c
@ -28,7 +28,7 @@ class attempt_manual_grading_completed extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_attempts';
|
||||
$this->data['crud'] = 'u';
|
||||
$this->data['edulevel'] = self::LEVEL_OTHER;
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public function get_description() {
|
||||
|
@ -47,7 +47,7 @@ class attempt_preview_started extends \core\event\base {
|
||||
*/
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_attempts';
|
||||
$this->data['crud'] = 'r';
|
||||
$this->data['crud'] = 'c';
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ class attempt_reviewed extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_attempts';
|
||||
$this->data['crud'] = 'r';
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -50,7 +50,7 @@ class attempt_summary_viewed extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_attempts';
|
||||
$this->data['crud'] = 'r';
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -41,8 +41,8 @@ namespace mod_quiz\event;
|
||||
class page_break_created extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_slots';
|
||||
$this->data['crud'] = 'u';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['crud'] = 'c';
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
@ -41,8 +41,8 @@ namespace mod_quiz\event;
|
||||
class page_break_deleted extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_slots';
|
||||
$this->data['crud'] = 'u';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['crud'] = 'd';
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
@ -48,7 +48,7 @@ class question_manually_graded extends \core\event\base {
|
||||
*/
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'question';
|
||||
$this->data['crud'] = 'c';
|
||||
$this->data['crud'] = 'u';
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ class quiz_grade_updated extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz';
|
||||
$this->data['crud'] = 'u';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
@ -41,7 +41,7 @@ class quiz_repaginated extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz';
|
||||
$this->data['crud'] = 'u';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
@ -44,7 +44,7 @@ class section_break_created extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_sections';
|
||||
$this->data['crud'] = 'c';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
@ -43,7 +43,7 @@ class section_break_deleted extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_sections';
|
||||
$this->data['crud'] = 'd';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
@ -43,7 +43,7 @@ class section_shuffle_updated extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_sections';
|
||||
$this->data['crud'] = 'u';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
@ -44,7 +44,7 @@ class section_title_updated extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_sections';
|
||||
$this->data['crud'] = 'u';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
@ -43,7 +43,7 @@ class slot_created extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_slots';
|
||||
$this->data['crud'] = 'c';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
@ -42,7 +42,7 @@ class slot_deleted extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_slots';
|
||||
$this->data['crud'] = 'd';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
@ -43,7 +43,7 @@ class slot_mark_updated extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_slots';
|
||||
$this->data['crud'] = 'u';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
@ -44,7 +44,7 @@ class slot_moved extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_slots';
|
||||
$this->data['crud'] = 'u';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
@ -42,7 +42,7 @@ class slot_requireprevious_updated extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'quiz_slots';
|
||||
$this->data['crud'] = 'u';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['edulevel'] = self::LEVEL_TEACHING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user