From 7e4972a4a8d14387cae7e1afe255c81363f6a85f Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Mon, 9 Jan 2023 17:48:26 +0000 Subject: [PATCH] fixup! MDL-76614 quiz: deprecate class moodle_quiz_exception --- mod/quiz/deprecatedlib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/quiz/deprecatedlib.php b/mod/quiz/deprecatedlib.php index 69982742a76..2fa17695f14 100644 --- a/mod/quiz/deprecatedlib.php +++ b/mod/quiz/deprecatedlib.php @@ -187,6 +187,8 @@ class moodle_quiz_exception extends moodle_exception { * @deprecated since Moodle 4.2. Please just use moodle_exception. */ public function __construct($quizobj, $errorcode, $a = null, $link = '', $debuginfo = null) { + debugging('Class moodle_quiz_exception is deprecated. ' . + 'Please use a standard moodle_exception instead.', DEBUG_DEVELOPER); if (!$link) { $link = $quizobj->view_url(); } -- 2.11.4.GIT