MDL-16096: required library was included in the wrong function - this removes the old one.

This commit is contained in:
scyrma 2008-08-18 06:26:45 +00:00
parent 11dca3eed6
commit b98e7c62ff

View File

@ -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