|
@ -889,7 +889,7 @@ class attendance { |
|
|
$url = $this->url_take($params); |
|
|
$url = $this->url_take($params); |
|
|
|
|
|
|
|
|
// Log the change. |
|
|
// Log the change. |
|
|
$this->log('attendance taken', $url, $USER->firstname.' '.$USER->lastname); |
|
|
$this->log('taken by student', $url, $USER->firstname.' '.$USER->lastname); |
|
|
|
|
|
|
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
@ -949,7 +949,7 @@ class attendance { |
|
|
$url = $this->url_take($params); |
|
|
$url = $this->url_take($params); |
|
|
|
|
|
|
|
|
// Log the change. |
|
|
// Log the change. |
|
|
$this->log('attendance taken', $url, $USER->firstname.' '.$USER->lastname); |
|
|
$this->log('taken', $url, $USER->firstname.' '.$USER->lastname); |
|
|
|
|
|
|
|
|
$group = 0; |
|
|
$group = 0; |
|
|
if ($this->pageparams->grouptype != attendance::SESSION_COMMON) { |
|
|
if ($this->pageparams->grouptype != attendance::SESSION_COMMON) { |
|
|