]> git.mjollnir.org Git - moodle.git/commitdiff
Take out debugging output in role_assign. It only tells you that something has worked...
authortjhunt <tjhunt>
Tue, 11 Dec 2007 10:37:53 +0000 (10:37 +0000)
committertjhunt <tjhunt>
Tue, 11 Dec 2007 10:37:53 +0000 (10:37 +0000)
lib/accesslib.php

index feca0f1eb1bd3b501d7605d67b32b595849acf68..0ab6525827aca36f958fbab89e7dfb36e7ab8743 100755 (executable)
@@ -2822,8 +2822,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;
 
-    debugging("Assign roleid $roleid userid $userid contextid $contextid", DEBUG_DEVELOPER);
-
 /// Do some data validation
 
     if (empty($roleid)) {