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:
ecb8829
)
MDL-28348 fix meta sync when unassigning roles
author
Petr Skoda
<commits@skodak.org>
Sun, 17 Jul 2011 18:35:15 +0000
(20:35 +0200)
committer
Petr Skoda
<commits@skodak.org>
Sun, 17 Jul 2011 18:35:15 +0000
(20:35 +0200)
enrol/meta/locallib.php
patch
|
blob
|
blame
|
history
diff --git
a/enrol/meta/locallib.php
b/enrol/meta/locallib.php
index
5fa467b
..
3b68e7f
100644
(file)
--- a/
enrol/meta/locallib.php
+++ b/
enrol/meta/locallib.php
@@
-115,7
+115,7
@@
class enrol_meta_handler {
}
// unassing role, there is no other role assignment in parent course
}
// unassing role, there is no other role assignment in parent course
- role_unassign($ra->roleid, $ra->userid, $
ra->context
id, 'enrol_meta', $enrol->id);
+ role_unassign($ra->roleid, $ra->userid, $
context->
id, 'enrol_meta', $enrol->id);
}
return true;
}
return true;