Skip to content

Commit

Permalink
SAK-47812 Assignment remove deprecated code on Assignment Entity prov…
Browse files Browse the repository at this point in the history
  • Loading branch information
victorGomollon authored Sep 12, 2022
1 parent 85d1fa8 commit 8c96eb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ public SimpleAssignment(Assignment a) {
boolean isExternalAssignmentDefined = gradingService.isExternalAssignmentDefined(a.getContext(), gradebookAssignmentProp);
if (isExternalAssignmentDefined) {
// since the gradebook item is externally defined, the item is named after the external object's title
gAssignment = gradingService.getAssignment(a.getContext(), a.getTitle());
gAssignment = gradingService.getExternalAssignment(a.getContext(), gradebookAssignmentProp);
if (gAssignment != null) {
this.gradebookItemId = gAssignment.getId();
this.gradebookItemName = gAssignment.getName();
Expand Down

0 comments on commit 8c96eb8

Please sign in to comment.