Do not show video_upload_pipeline advanced setting if the feature is disabled.

This commit is contained in:
Nimisha Asthagiri
2015-03-11 16:41:36 -04:00
parent f0322b9662
commit 8e5563d467
2 changed files with 4 additions and 1 deletions

View File

@@ -60,6 +60,10 @@ class CourseMetadata(object):
if not settings.FEATURES.get('ENABLE_EDXNOTES'):
filtered_list.append('edxnotes')
# Do not show video_upload_pipeline if the feature is disabled.
if not settings.FEATURES.get('ENABLE_VIDEO_UPLOAD_PIPELINE'):
filtered_list.append('video_upload_pipeline')
return filtered_list
@classmethod

View File

@@ -196,5 +196,4 @@ class AdvancedSettingsPage(CoursePage):
'static_asset_path',
'text_customization',
'annotation_storage_url',
'video_upload_pipeline'
]