MDL-15516 prevent access to deleted profiles; backported from HEAD
This commit is contained in:
@@ -144,6 +144,8 @@
|
||||
|
||||
if ($user->deleted) {
|
||||
print_heading(get_string('userdeleted'));
|
||||
print_footer($course);
|
||||
die;
|
||||
}
|
||||
|
||||
/// OK, security out the way, now we are showing the user
|
||||
|
||||
Reference in New Issue
Block a user