Commit 2e4caae0 by Braden MacDonald Committed by E. Kolpakov

Temporary support for old SettingsService used by ooyala

(cherry picked from commit 83dc3a3)
parent 3560c025
...@@ -68,6 +68,13 @@ class SettingsService(object): ...@@ -68,6 +68,13 @@ class SettingsService(object):
xblock_settings = settings.XBLOCK_SETTINGS if hasattr(settings, "XBLOCK_SETTINGS") else {} xblock_settings = settings.XBLOCK_SETTINGS if hasattr(settings, "XBLOCK_SETTINGS") else {}
return xblock_settings.get(xblock_settings_bucket, actual_default) return xblock_settings.get(xblock_settings_bucket, actual_default)
def get(self, setting_name):
"""
Temporary method available only on solutions branch until ooyala XBlock is updated
to use get_settings_bucket()
"""
return getattr(settings, setting_name)
class NotificationsService(object): class NotificationsService(object):
""" """
......
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