WeBWorK Main Forum

authen_LTI.conf: new user behavior

authen_LTI.conf: new user behavior

by Andrew Dabrowski -
Number of replies: 1
The authen_LTI.conf.dist file has the following code to determine how much time to extend the due dates of pre-existing assignments.
# # The self object from LTIAdvanced.pm
# my $self = shift;
# my $globalSet = shift;
# # The userSet object to be modified
# my $userSet = shift;
# my $numberOfSetsAssigned = $self->{numberOfSetsAssigned};
My question: Does
$self->{numberOfSetsAssigned};

return the total number of assignments defined, or just the number which have already opened? (The latter would be much preferable.)
In reply to Andrew Dabrowski

Re: authen_LTI.conf: new user behavior

by Andrew Dabrowski -
Let me try this question. Where can I find documentation on the WW db object? That is where the code above is ultimately getting its data:

($self = LTIAdvanced object)->r->db.