Commit e66f9a24 by Julia Hansbrough

Clarified wording in a docstring

parent b0fcadad
...@@ -205,10 +205,8 @@ def _has_access_course_desc(user, course, action): ...@@ -205,10 +205,8 @@ def _has_access_course_desc(user, course, action):
def can_refund(): def can_refund():
""" """
For paid/verified certificates, students may receive a refund IFF the deadline For paid/verified certificates, students may receive a refund IFF they have
for refunds has not yet passed. Note that this function *only* checks whether a verified certificate and the deadline for refunds has not yet passed.
or not that deadline has passed; checking whether the student actually *purchased*
a paid/verified certificate must be done elsewhere.
""" """
course_mode = CourseMode.mode_for_course(course.id, 'verified') course_mode = CourseMode.mode_for_course(course.id, 'verified')
if course_mode is None: if course_mode is None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment