Skip to content

Commit

Permalink
Remove redirection from about page when mktg is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
tusbar committed Dec 22, 2014
1 parent 8a96e7a commit f5b3f73
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lms/djangoapps/courseware/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,11 +743,11 @@ def course_about(request, course_id):
)
course = get_course_with_access(request.user, permission_name, course_key)

if microsite.get_value(
'ENABLE_MKTG_SITE',
settings.FEATURES.get('ENABLE_MKTG_SITE', False)
):
return redirect(reverse('info', args=[course.id.to_deprecated_string()]))
# if microsite.get_value(
# 'ENABLE_MKTG_SITE',
# settings.FEATURES.get('ENABLE_MKTG_SITE', False)
# ):
# return redirect(reverse('info', args=[course.id.to_deprecated_string()]))

registered = registered_for_course(course, request.user)

Expand Down

0 comments on commit f5b3f73

Please sign in to comment.