MDL-15516 prevent access to deleted profiles; backported from HEAD

This commit is contained in:
skodak
2008-07-05 14:59:44 +00:00
parent 2fd1b1a9a3
commit 6649c902cd
+2
View File
@@ -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