Remove a notice

This commit is contained in:
moodler
2005-04-01 09:25:45 +00:00
parent d9969553db
commit 5485e65387
+1 -1
View File
@@ -1838,7 +1838,7 @@ function print_footer($course=NULL, $usercourse=NULL) {
include ($CFG->themedir.$CFG->theme.'/footer.html');
if ($CFG->perfdebug && function_exists('memory_get_usage')) {
if (!empty($CFG->perfdebug) && function_exists('memory_get_usage')) {
error_log("Page $_SERVER[REQUEST_URI] completed. Memory allocated: "
. memory_get_usage());
}