|
|
@ -44,9 +44,9 @@ class attendance_taken_by_student extends \core\event\base { |
|
|
|
* Init method. |
|
|
|
*/ |
|
|
|
protected function init() { |
|
|
|
$this->data['crud'] = 'r'; |
|
|
|
$this->data['edulevel'] = self::LEVEL_TEACHING; |
|
|
|
$this->data['objecttable'] = 'attendance'; |
|
|
|
$this->data['crud'] = 'u'; |
|
|
|
$this->data['edulevel'] = self::LEVEL_PARTICIPATING; |
|
|
|
$this->data['objecttable'] = 'attendance_log'; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|