File tree Expand file tree Collapse file tree
openedx/core/djangoapps/content_libraries Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments