Skip to content

Commit 08d0275

Browse files
committed
Add a missing debug import in lib/WeBWorK/Authen/LTIAdvantage/SubmitGrade.pm.
This was missed in openwebwork#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.
1 parent 5950f80 commit 08d0275

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/WeBWorK/Authen/LTIAdvantage/SubmitGrade.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use Math::Random::Secure qw(irand);
2222
use Digest::SHA qw(sha256_hex);
2323
use Time::HiRes;
2424

25-
use WeBWorK::Debug;
25+
use WeBWorK::Debug qw(debug);
2626
use WeBWorK::Utils qw(wwRound);
2727
use WeBWorK::Utils::Sets qw(grade_all_sets);
2828
use WeBWorK::Authen::LTI::GradePassback qw(getSetPassbackScore);

lib/WeBWorK/File/SetDef.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ WeBWorK::File::SetDef - utilities for dealing with set definition files.
99

1010
use Carp;
1111

12-
use WeBWorK::Debug;
12+
use WeBWorK::Debug qw(debug);
1313
use WeBWorK::Utils qw(x);
1414
use WeBWorK::Utils::DateTime qw(formatDateTime getDefaultSetDueDate parseDateTime timeToSec);
1515
use WeBWorK::Utils::Files qw(surePathToFile);

0 commit comments

Comments
 (0)