MDL-15043

No need to use $USER in the log write call, it's the default
This commit is contained in:
thepurpleblob 2008-05-29 12:49:29 +00:00
parent ac1dc9845a
commit e60d5b2676

View file

@ -2521,7 +2521,7 @@ function delete_role($roleid) {
} }
if ($success) { if ($success) {
add_to_log(SITEID, 'role', 'delete', 'admin/roles/action=delete&roleid='.$roleid, $rolename, '', $USER->id); add_to_log(SITEID, 'role', 'delete', 'admin/roles/action=delete&roleid='.$roleid, $rolename, '');
} }
return $success; return $success;
@ -5474,4 +5474,4 @@ function role_cap_duplicate($sourcerole, $targetrole) {
} }
} }
?> ?>