projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ee78a3
)
MDL-16096: missing library require - Fix by Joseph Morwick.
author
scyrma
<scyrma>
Mon, 18 Aug 2008 06:20:50 +0000
(06:20 +0000)
committer
scyrma
<scyrma>
Mon, 18 Aug 2008 06:20:50 +0000
(06:20 +0000)
lib/accesslib.php
patch
|
blob
|
history
diff --git
a/lib/accesslib.php
b/lib/accesslib.php
index bc88fc89ae2659f089869d4127f3c56871da8fb5..c2a019c4cd2f57236315a55d715aac6fe6ffe8f4 100755
(executable)
--- a/
lib/accesslib.php
+++ b/
lib/accesslib.php
@@
-2779,6
+2779,7
@@
function role_assign($roleid, $userid, $groupid, $contextid, $timestart=0, $time
function role_unassign($roleid=0, $userid=0, $groupid=0, $contextid=0, $enrol=NULL) {
global $USER, $CFG, $DB;
+ require_once($CFG->dirroot.'/group/lib.php');
$success = true;