MDL-15516 prevent access to profiles of deleted users; backported from HEAD
This commit is contained in:
@@ -109,6 +109,8 @@
|
||||
|
||||
if ($user->deleted) {
|
||||
print_heading(get_string("userdeleted"));
|
||||
print_footer($course);
|
||||
die;
|
||||
}
|
||||
|
||||
/// Get the hidden field list
|
||||
|
||||
Reference in New Issue
Block a user