From 7962ad7dd0bcdb1a3f5a3a86686d035635ce1374 Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Tue, 2 Jul 2013 13:32:28 -0400 Subject: [PATCH] remove incorrect comment --- cms/djangoapps/contentstore/views/preview.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cms/djangoapps/contentstore/views/preview.py b/cms/djangoapps/contentstore/views/preview.py index 56000f2f65..fd2188a734 100644 --- a/cms/djangoapps/contentstore/views/preview.py +++ b/cms/djangoapps/contentstore/views/preview.py @@ -96,10 +96,6 @@ def preview_module_system(request, preview_id, descriptor): MongoUsage(preview_id, descriptor.location.url()), ) - # unfortunately this is duplicate code from module_render.py (LMS) - # refactoring this to be more DRY means having the change the call signature - # to pass along a course_id, however, deep in the code where the call is actually made, we don't always have - # access to the course_id course_id = get_course_for_item(descriptor.location).location.course_id return ModuleSystem(