From 698f2b17b95411826698e7bdf13ecf8180658c55 Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Wed, 25 Jul 2018 14:40:34 -0400 Subject: [PATCH] Remove ENABLE_MANUAL_GIT_RELOAD, DEBUG_LEVEL, USE_YOUTUBE_OBJECT_API These are old feature flags that are no longer used: ENABLE_MANUAL_GIT_RELOAD was to allow instructors to reload an XML Modulestore course directly from a git checkout. That Modulestore backend hasn't existed for a while. DEBUG_LEVEL was an early flag for how debug log verbosity. USE_YOUTUBE_OBJECT_API was created in reaction to YouTube breaking their iframe API. They have long since addressed those issues. --- lms/envs/common.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lms/envs/common.py b/lms/envs/common.py index 15098efa4a..4f25fd458c 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -72,7 +72,6 @@ FEATURES = { 'DISPLAY_HISTOGRAMS_TO_STAFF': False, # For large courses this slows down courseware access for staff. 'REROUTE_ACTIVATION_EMAIL': False, # nonempty string = address for all activation emails - 'DEBUG_LEVEL': 0, # 0 = lowest level, least verbose, 255 = max level, most verbose ## DO NOT SET TO True IN THIS FILE ## Doing so will cause all courses to be released on production @@ -98,7 +97,6 @@ FEATURES = { 'ENABLE_DJANGO_ADMIN_SITE': True, # set true to enable django's admin site, even on prod (e.g. for course ops) 'ENABLE_SQL_TRACKING_LOGS': False, 'ENABLE_LMS_MIGRATION': False, - 'ENABLE_MANUAL_GIT_RELOAD': False, 'ENABLE_MASQUERADE': True, # allow course staff to change to student view of courseware @@ -144,9 +142,6 @@ FEATURES = { # this does. 'RUN_AS_ANALYTICS_SERVER_ENABLED': False, - # Flip to True when the YouTube iframe API breaks (again) - 'USE_YOUTUBE_OBJECT_API': False, - # Give a UI to show a student's submission history in a problem by the # Staff Debug tool. 'ENABLE_STUDENT_HISTORY_VIEW': True,