@ -44,9 +44,9 @@ class attendance_taken extends \core\event\base {
* Init method.
*/
protected function init() {
$this->data['crud'] = 'r';
$this->data['crud'] = 'u';
$this->data['edulevel'] = self::LEVEL_TEACHING;
$this->data['objecttable'] = 'attendance';
$this->data['objecttable'] = 'attendance_log';
}
/**
@ -44,9 +44,9 @@ class attendance_taken_by_student extends \core\event\base {
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
@ -44,9 +44,9 @@ class session_added extends \core\event\base {
$this->data['crud'] = 'c';
$this->data['objecttable'] = 'attendance_sessions';
@ -44,9 +44,9 @@ class session_deleted extends \core\event\base {
$this->data['crud'] = 'd';
@ -44,9 +44,9 @@ class session_duration_updated extends \core\event\base {
@ -44,9 +44,9 @@ class session_updated extends \core\event\base {
@ -44,9 +44,9 @@ class status_added extends \core\event\base {
$this->data['objecttable'] = 'attendance_statuses';
@ -44,9 +44,9 @@ class status_updated extends \core\event\base {