Commit ff74bc79 by Matthew Mongeau

Undo forced CourseDescriptor

parent 1fcc0257
......@@ -87,8 +87,7 @@ class XMLModuleStore(ModuleStore):
self.used_slugs.add(slug)
xml_data.set('slug', slug)
from xmodule.course_module import CourseDescriptor
module = XModuleDescriptor.load_from_xml(etree.tostring(xml_data), self, org, course, CourseDescriptor)
module = XModuleDescriptor.load_from_xml(etree.tostring(xml_data), self, org, course, modulestore.default_class)
modulestore.modules[module.location] = module
if modulestore.eager:
......
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