FIxed extra debugging info

This commit is contained in:
moodler
2007-01-23 02:14:29 +00:00
parent f269a562a8
commit 3de34ccf68
+3 -5
View File
@@ -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 ///////