Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5aac4a2
)
MDL-48362 enrol_cohort: Correct variable naming for course sync
author
Andrew Nicols
<andrew@nicols.co.uk>
Wed, 2 Mar 2016 23:55:07 +0000
(07:55 +0800)
committer
Andrew Nicols
<andrew@nicols.co.uk>
Wed, 2 Mar 2016 23:55:10 +0000
(07:55 +0800)
$course->id => $instance->courseid
enrol/cohort/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/enrol/cohort/lib.php
b/enrol/cohort/lib.php
index
93bdf44
..
179671e
100644
(file)
--- a/
enrol/cohort/lib.php
+++ b/
enrol/cohort/lib.php
@@
-155,7
+155,7
@@
class enrol_cohort_plugin extends enrol_plugin {
require_once("$CFG->dirroot/enrol/cohort/locallib.php");
$trace = new null_progress_trace();
require_once("$CFG->dirroot/enrol/cohort/locallib.php");
$trace = new null_progress_trace();
- enrol_cohort_sync($trace, $
course->
id);
+ enrol_cohort_sync($trace, $
instance->course
id);
$trace->finished();
return $result;
$trace->finished();
return $result;