From 231b130911264bf27f5f042a5ff5d3d72d539420 Mon Sep 17 00:00:00 2001 From: Usman Khalid Date: Mon, 23 Sep 2013 15:30:00 +0000 Subject: [PATCH] Removed hardcoded case for edge for /courses --- lms/djangoapps/branding/views.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lms/djangoapps/branding/views.py b/lms/djangoapps/branding/views.py index cdf7aa5eda..3ce8dbd401 100644 --- a/lms/djangoapps/branding/views.py +++ b/lms/djangoapps/branding/views.py @@ -52,10 +52,6 @@ def courses(request): if not settings.MITX_FEATURES.get('COURSES_ARE_BROWSABLE'): raise Http404 - university = branding.get_university(request.META.get('HTTP_HOST')) - if university == 'edge': - return render_to_response('university_profile/edge.html', {}) - # we do not expect this case to be reached in cases where - # marketing and edge are enabled + # marketing is enabled or the courses are not browsable return courseware.views.courses(request)