Remove due date setting

This commit is contained in:
Vik Paruchuri
2013-09-15 12:05:07 -04:00
parent b9f8869c50
commit 6e8c8a647c

View File

@@ -124,9 +124,6 @@ class PeerGradingModule(PeerGradingFields, XModule):
log.error("Linked location {0} for peer grading module {1} cannot be linked to.".format(
self.link_to_location, self.location))
raise
due_date = self.linked_problem.due
if due_date:
self.due = due_date
try:
self.timeinfo = TimeInfo(self.due, self.graceperiod)