Temporayr debug a bit more sensible

This commit is contained in:
moodler 2006-08-13 15:50:58 +00:00
parent 340ea4e89e
commit acee2e2491

View file

@ -97,7 +97,7 @@
"$fullname", "", "", true, " ", navmenu($course)); "$fullname", "", "", true, " ", navmenu($course));
} }
if ($CFG->debug) { if ($CFG->debug && $USER->id == $user->id) { // TEMPORARY in DEV!
print_heading('DEBUG MODE: User session variables'); print_heading('DEBUG MODE: User session variables');
print_object($USER); print_object($USER);
} }