removed duplicate log word
authorJoseph Baxter <joseph.baxter@nottingham.ac.uk>
Thu, 22 May 2014 09:57:08 +0000 (10:57 +0100)
committerJoseph Baxter <joseph.baxter@nottingham.ac.uk>
Thu, 22 May 2014 09:57:08 +0000 (10:57 +0100)
locallib.php

index 651d6a0..966de68 100644 (file)
@@ -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'));
     }