From b04ad8649b8867695f0fe7c5731f376b6836b700 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 11 Dec 2007 10:37:53 +0000 Subject: [PATCH] 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. --- lib/accesslib.php | 2 -- 1 file changed, 2 deletions(-) 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)) { -- 2.39.5