Commit 8a25c759 by David Ormsbee

fixup: return key not store

parent 0770b7f1
...@@ -182,6 +182,9 @@ FEATURES = { ...@@ -182,6 +182,9 @@ FEATURES = {
'ENABLE_SPECIAL_EXAMS': False, 'ENABLE_SPECIAL_EXAMS': False,
'ORGANIZATIONS_APP': False, 'ORGANIZATIONS_APP': False,
# Enable reporting metrics to DataDog
'ENABLE_DATADOG_REPORTING': False,
} }
ENABLE_JASMINE = False ENABLE_JASMINE = False
......
...@@ -332,7 +332,7 @@ class MixedModuleStore(ModuleStoreDraftAndPublished, ModuleStoreWriteBase): ...@@ -332,7 +332,7 @@ class MixedModuleStore(ModuleStoreDraftAndPublished, ModuleStoreWriteBase):
# If there is a mapping that match this org/course/run, use that # If there is a mapping that match this org/course/run, use that
for key in possible_keys: for key in possible_keys:
if key in self.mappings: if key in self.mappings:
return self.mappings[key] return key
# Otherwise, return the key created by the default store # Otherwise, return the key created by the default store
return self.default_modulestore.make_course_key(org, course, run) return self.default_modulestore.make_course_key(org, course, run)
......
...@@ -369,6 +369,9 @@ FEATURES = { ...@@ -369,6 +369,9 @@ FEATURES = {
# Enable LTI Provider feature. # Enable LTI Provider feature.
'ENABLE_LTI_PROVIDER': False, 'ENABLE_LTI_PROVIDER': False,
# Enable reporting metrics to DataDog
'ENABLE_DATADOG_REPORTING': False,
} }
# Ignore static asset files on import which match this pattern # Ignore static asset files on import which match this pattern
......
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