Removing student records waffle flag from LMS

This commit is contained in:
Dillon Dumesnil
2018-08-08 13:48:01 -04:00
parent 017691de50
commit f59eafa1c0
4 changed files with 0 additions and 16 deletions

View File

@@ -4,10 +4,3 @@ edX Platform support for credentials.
This package will be used as a wrapper for interacting with the credentials
service.
"""
from openedx.core.djangoapps.waffle_utils import WaffleFlag, WaffleFlagNamespace
WAFFLE_FLAG_NAMESPACE = WaffleFlagNamespace(name='credentials')
# Waffle flag to enable the experimental Student Records feature
STUDENT_RECORDS_FLAG = WaffleFlag(WAFFLE_FLAG_NAMESPACE, 'student_records')

View File

@@ -11,8 +11,6 @@ from django.utils.translation import ugettext_lazy as _
from openedx.core.djangoapps.site_configuration import helpers
from . import STUDENT_RECORDS_FLAG
API_VERSION = 'v2'
@@ -93,9 +91,6 @@ class CredentialsApiConfig(ConfigurationModel):
"""
Publicly-accessible Records URL root.
"""
# Temporarily disable this feature while we work on it
if not STUDENT_RECORDS_FLAG.is_enabled():
return None
# Not every site wants the Learner Records feature, so we allow opting out.
if not helpers.get_value('ENABLE_LEARNER_RECORDS', True):
return None