projects
/
moodle-mod_attendance.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff14681
)
fix another typo
author
Dan Marsden
<dan@danmarsden.com>
Wed, 21 Aug 2013 22:05:25 +0000
(10:05 +1200)
committer
Dan Marsden
<dan@danmarsden.com>
Wed, 21 Aug 2013 22:05:25 +0000
(10:05 +1200)
locallib.php
patch
|
blob
|
history
diff --git
a/locallib.php
b/locallib.php
index
e09cff9
..
1975b0b
100644
(file)
--- a/
locallib.php
+++ b/
locallib.php
@@
-1396,7
+1396,7
@@
function attforblock_upgrade() {
$DB->update_record('modules', $module);
// Clear cache for courses with attendances.
- $attendances = $DB->get_recordset('attendance', array(), '', 'course
id
');
+ $attendances = $DB->get_recordset('attendance', array(), '', 'course');
foreach ($attendances as $attendance) {
rebuild_course_cache($attendance->course, true);
}