Skip to content

Commit

Permalink
Remove the useless debug calls in lib/WebworkWebservice/ProblemAction…
Browse files Browse the repository at this point in the history
…s.pm.
  • Loading branch information
drgrice1 committed Jul 6, 2023
1 parent 2931306 commit 404ef99
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/WebworkWebservice/ProblemActions.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@ use warnings;

use Data::Structure::Util qw(unbless);

use WeBWorK::Debug;
use WeBWorK::PG::Tidy qw(pgtidy);

sub getUserProblem {
my ($invocant, $self, $params) = @_;

debug('in getUserProblem');

my $db = $self->db;

my $userProblem = $db->getUserProblem($params->{user_id}, $params->{set_id}, $params->{problem_id});
Expand All @@ -44,8 +41,6 @@ sub getUserProblem {
sub putUserProblem {
my ($invocant, $self, $params) = @_;

debug('in putUserProblem');

my $db = $self->db;

my $userProblem = $db->getUserProblem($params->{user_id}, $params->{set_id}, $params->{problem_id});
Expand Down Expand Up @@ -76,8 +71,6 @@ sub putUserProblem {
sub putProblemVersion {
my ($invocant, $self, $params) = @_;

debug('in putProblemVersion');

my $db = $self->db;

my $problemVersion =
Expand Down Expand Up @@ -109,8 +102,6 @@ sub putProblemVersion {
sub putPastAnswer {
my ($invocant, $self, $params) = @_;

debug('in putPastAnswer');

my $db = $self->db;

my $pastAnswer = $db->getPastAnswer($params->{answer_id});
Expand All @@ -137,8 +128,6 @@ sub putPastAnswer {
sub tidyPGCode {
my ($invocant, $self, $params) = @_;

debug('in tidyPGCode');

local @ARGV = ();

my $code = $params->{pgCode};
Expand Down

0 comments on commit 404ef99

Please sign in to comment.