CONTRIB-4246: allow quick editing of module name
authorDan Marsden <dan@danmarsden.com>
Wed, 3 Jul 2013 23:43:08 +0000 (11:43 +1200)
committerDan Marsden <dan@danmarsden.com>
Wed, 3 Jul 2013 23:43:08 +0000 (11:43 +1200)
lib.php

diff --git a/lib.php b/lib.php
index e8a002a..d005d0e 100644 (file)
--- a/lib.php
+++ b/lib.php
@@ -265,6 +265,9 @@ function attendance_cron () {
     return true;
 }
 
+function attendance_update_grades($attendance, $userid=0, $nullifnone=true) {
+    // We need this function to exist so that quick editing of module name is passed to gradebook.
+}
 /**
  * Create grade item for given attendance
  *