Skip to content

Commit 106e440

Browse files
committed
fix: rm unused 'allow_lti' attribute
1 parent d8e4505 commit 106e440

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

openedx/core/djangoapps/content_libraries/api/libraries.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ class ContentLibraryMetadata:
139139
# has_unpublished_deletes will be true when the draft version of the library's bundle
140140
# contains deletes of any XBlocks that were in the most recently published version
141141
has_unpublished_deletes: bool = False
142-
allow_lti: bool = False
143142
# Allow any user (even unregistered users) to view and interact directly
144143
# with this library's content in the LMS
145144
allow_public_learning: bool = False
@@ -404,7 +403,6 @@ def get_library(library_key: LibraryLocatorV2) -> ContentLibraryMetadata:
404403
published_by=published_by,
405404
last_draft_created=last_draft_created,
406405
last_draft_created_by=last_draft_created_by,
407-
allow_lti=ref.allow_lti,
408406
allow_public_learning=ref.allow_public_learning,
409407
allow_public_read=ref.allow_public_read,
410408
has_unpublished_changes=has_unpublished_changes,

openedx/core/djangoapps/content_libraries/rest_api/serializers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ class ContentLibraryMetadataSerializer(serializers.Serializer):
4848
published_by = serializers.CharField(read_only=True)
4949
last_draft_created = serializers.DateTimeField(format=DATETIME_FORMAT, read_only=True)
5050
last_draft_created_by = serializers.CharField(read_only=True)
51-
allow_lti = serializers.BooleanField(default=False, read_only=True)
5251
allow_public_learning = serializers.BooleanField(default=False)
5352
allow_public_read = serializers.BooleanField(default=False)
5453
has_unpublished_changes = serializers.BooleanField(read_only=True)

0 commit comments

Comments
 (0)