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:
40a1545
)
MDL-50744 enrol_meta: fix incorrect role assign
author
Marina Glancy
<marina@moodle.com>
Wed, 2 Sep 2015 06:45:01 +0000
(14:45 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Mon, 7 Sep 2015 09:29:02 +0000
(10:29 +0100)
enrol/meta/locallib.php
patch
|
blob
|
blame
|
history
diff --git
a/enrol/meta/locallib.php
b/enrol/meta/locallib.php
index
08c50c8
..
983530e
100644
(file)
--- a/
enrol/meta/locallib.php
+++ b/
enrol/meta/locallib.php
@@
-314,7
+314,7
@@
function enrol_meta_sync($courseid = NULL, $verbose = false) {
}
}
- $meta->enrol_user($instance, $ue->userid, $ue->status);
+ $meta->enrol_user($instance, $ue->userid,
null, 0, 0,
$ue->status);
if ($instance->customint2) {
groups_add_member($instance->customint2, $ue->userid, 'enrol_meta', $instance->id);
}