mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-16096: required library was included in the wrong function - this removes the old one.
This commit is contained in:
parent
11dca3eed6
commit
b98e7c62ff
@ -2653,7 +2653,6 @@ function get_roles_with_capability($capability, $permission=NULL, $context='') {
|
||||
*/
|
||||
function role_assign($roleid, $userid, $groupid, $contextid, $timestart=0, $timeend=0, $hidden=0, $enrol='manual',$timemodified='') {
|
||||
global $USER, $CFG, $DB;
|
||||
require_once($CFG->dirroot.'/group/lib.php');
|
||||
|
||||
/// Do some data validation
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user