From 08d027508c02e905f442796c954c156a7b15d627 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Thu, 13 Aug 2026 11:34:02 -0500 Subject: [PATCH] Add a missing `debug` import in `lib/WeBWorK/Authen/LTIAdvantage/SubmitGrade.pm`. This was missed in #3126. The `WeBWorK::Debug` package no longer exports the `debug` method by default, and it must be explicitly imported where needed. This was also missing in the `lib/WeBWorK/File/SetDef.pm` file. I have checked all cases, and these are the only ones. --- lib/WeBWorK/Authen/LTIAdvantage/SubmitGrade.pm | 2 +- lib/WeBWorK/File/SetDef.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WeBWorK/Authen/LTIAdvantage/SubmitGrade.pm b/lib/WeBWorK/Authen/LTIAdvantage/SubmitGrade.pm index 89b3b8f66a..982fd6cfac 100644 --- a/lib/WeBWorK/Authen/LTIAdvantage/SubmitGrade.pm +++ b/lib/WeBWorK/Authen/LTIAdvantage/SubmitGrade.pm @@ -22,7 +22,7 @@ use Math::Random::Secure qw(irand); use Digest::SHA qw(sha256_hex); use Time::HiRes; -use WeBWorK::Debug; +use WeBWorK::Debug qw(debug); use WeBWorK::Utils qw(wwRound); use WeBWorK::Utils::Sets qw(grade_all_sets); use WeBWorK::Authen::LTI::GradePassback qw(getSetPassbackScore); diff --git a/lib/WeBWorK/File/SetDef.pm b/lib/WeBWorK/File/SetDef.pm index a153d9d6fc..b5923eeafb 100644 --- a/lib/WeBWorK/File/SetDef.pm +++ b/lib/WeBWorK/File/SetDef.pm @@ -9,7 +9,7 @@ WeBWorK::File::SetDef - utilities for dealing with set definition files. use Carp; -use WeBWorK::Debug; +use WeBWorK::Debug qw(debug); use WeBWorK::Utils qw(x); use WeBWorK::Utils::DateTime qw(formatDateTime getDefaultSetDueDate parseDateTime timeToSec); use WeBWorK::Utils::Files qw(surePathToFile);