Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
e66f9a24
Commit
e66f9a24
authored
11 years ago
by
Julia Hansbrough
Browse files
Options
Downloads
Patches
Plain Diff
Clarified wording in a docstring
parent
b0fcadad
No related branches found
Branches containing commit
Tags
release-2019-07-18-11.16
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/djangoapps/courseware/access.py
+2
-4
2 additions, 4 deletions
lms/djangoapps/courseware/access.py
with
2 additions
and
4 deletions
lms/djangoapps/courseware/access.py
+
2
−
4
View file @
e66f9a24
...
...
@@ -205,10 +205,8 @@ def _has_access_course_desc(user, course, action):
def
can_refund
():
"""
For paid/verified certificates, students may receive a refund IFF the deadline
for refunds has not yet passed. Note that this function *only* checks whether
or not that deadline has passed; checking whether the student actually *purchased*
a paid/verified certificate must be done elsewhere.
For paid/verified certificates, students may receive a refund IFF they have
a verified certificate and the deadline for refunds has not yet passed.
"""
course_mode
=
CourseMode
.
mode_for_course
(
course
.
id
,
'
verified
'
)
if
course_mode
is
None
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment