Undo forced CourseDescriptor

This commit is contained in:
Matthew Mongeau
2012-07-09 18:21:06 -04:00
parent 1fcc02579d
commit ff74bc79d4

View File

@@ -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: