From: scyrma Date: Mon, 18 Aug 2008 06:26:45 +0000 (+0000) Subject: MDL-16096: required library was included in the wrong function - this removes the... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b98e7c62ff0645c49d981f7f673152d6b563d466;p=moodle.git MDL-16096: required library was included in the wrong function - this removes the old one. --- diff --git a/lib/accesslib.php b/lib/accesslib.php index c2a019c4cd..c6dd26bfe7 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -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