From 4a57ba7ebb8ae28ec70ddfaf55c01c023a5d1cad Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Fri, 19 Jul 2013 15:20:54 +0100 Subject: [PATCH] MDL-40788 Profile: Remove debugging code displayed on profile page --- user/profile.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/user/profile.php b/user/profile.php index 36b00e0a9e8..6bae2243a5d 100644 --- a/user/profile.php +++ b/user/profile.php @@ -425,11 +425,5 @@ if (isloggedin() && has_capability('moodle/site:sendmessage', $context) echo ''; } -if ($CFG->debugdisplay && debugging('', DEBUG_DEVELOPER) && $currentuser) { // Show user object - echo '


'; - echo $OUTPUT->heading('DEBUG MODE: User session variables'); - print_object($USER); -} - echo ''; // userprofile class echo $OUTPUT->footer();