From d39f0367f1e816b0603e274b51a63e17d57b1ae6 Mon Sep 17 00:00:00 2001 From: Joseph Baxter Date: Thu, 22 May 2014 10:57:08 +0100 Subject: [PATCH] removed duplicate log word --- locallib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/locallib.php b/locallib.php index 651d6a0..966de68 100644 --- a/locallib.php +++ b/locallib.php @@ -890,7 +890,7 @@ class attendance { $url = $this->url_take($params); // Log the change. - $this->log('attendance taken', $url, $USER->firstname.' '.$USER->lastname); + $this->log('taken by student', $url, $USER->firstname.' '.$USER->lastname); return true; } @@ -950,7 +950,7 @@ class attendance { $url = $this->url_take($params); // Log the change. - $this->log('attendance taken', $url, $USER->firstname.' '.$USER->lastname); + $this->log('taken', $url, $USER->firstname.' '.$USER->lastname); redirect($this->url_manage(), get_string('attendancesuccess', 'attendance')); }