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:
e82eab5
)
fix typo
author
Dan Marsden
<dan@danmarsden.com>
Tue, 20 Aug 2013 20:54:56 +0000
(08:54 +1200)
committer
Dan Marsden
<dan@danmarsden.com>
Tue, 20 Aug 2013 20:54:56 +0000
(08:54 +1200)
locallib.php
patch
|
blob
|
history
diff --git
a/locallib.php
b/locallib.php
index
bc57d6c
..
e09cff9
100644
(file)
--- a/
locallib.php
+++ b/
locallib.php
@@
-1398,7
+1398,7
@@
function attforblock_upgrade() {
// Clear cache for courses with attendances.
$attendances = $DB->get_recordset('attendance', array(), '', 'courseid');
foreach ($attendances as $attendance) {
- rebuild_course_cache($attendance->course
id
, true);
+ rebuild_course_cache($attendance->course, true);
}
$attendances->close();
}
\ No newline at end of file