From: tjhunt Date: Tue, 11 Dec 2007 10:37:53 +0000 (+0000) Subject: Take out debugging output in role_assign. It only tells you that something has worked... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b04ad8649b8867695f0fe7c5731f376b6836b700;p=moodle.git Take out debugging output in role_assign. It only tells you that something has worked, and everywhere else we use debugging output to warn people they have called an API wrongly. Therefore, this is just confusing now that we trust this bit of roles code. --- diff --git a/lib/accesslib.php b/lib/accesslib.php index feca0f1eb1..0ab6525827 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -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)) {