Skip to content

Commit

Permalink
FIxed extra debugging info
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jan 23, 2007
1 parent f269a56 commit 3de34cc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions user/view.php
Expand Up @@ -439,15 +439,13 @@
echo "</form>";
}
echo "</div>\n";
print_object($USER->capabilities);
/*
if (debugging() && $USER->id == $user->id) { // TEMPORARY in DEV!

if ($CFG->debugdisplay && debugging('', DEBUG_DEVELOPER) && $USER->id == $user->id) { // Show user object
echo '<hr />';
print_heading('DEBUG MODE: User session variables');
print_object($USER);
}
*/
//print_object($USER->capabilities);

print_footer($course);

/// Functions ///////
Expand Down

0 comments on commit 3de34cc

Please sign in to comment.