From b4ecbdf97c634e0fb590cd4679a88f3e82f8ef19 Mon Sep 17 00:00:00 2001 From: Peter Mayer Date: Mon, 11 Mar 2024 11:01:13 +0100 Subject: [PATCH] remove some debugging points --- classes/coversheet/create_coversheet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/coversheet/create_coversheet.php b/classes/coversheet/create_coversheet.php index 60ee6be..1f5e5c9 100644 --- a/classes/coversheet/create_coversheet.php +++ b/classes/coversheet/create_coversheet.php @@ -75,7 +75,7 @@ public static function get_coversheet(int $attemptid): string { $context = \context_system::instance(); $backgroundimage = $fs->get_file($context->id, 'quiz_archiver', 'pdfcoversheetbackgroundimage', 0, '/', $filename); - \local_debugger\performance\debugger::print_debug('test', 'backgroundimage', $backgroundimage); + if (!empty($backgroundimage)) { $url = \moodle_url::make_pluginfile_url( $backgroundimage->get_contextid(),