Removing student records waffle flag from LMS
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user