Skip to content

Commit

Permalink
fix: remove learner_downloadable field references
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Nov 6, 2024
1 parent 767e1a2 commit 7486495
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions openedx/core/djangoapps/content_libraries/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,6 @@ def import_staged_content_from_user_clipboard(library_key: LibraryLocatorV2, use
component_version.pk,
content.id,
key=filename,
learner_downloadable=True,
)

# Emit library block created event
Expand Down Expand Up @@ -1084,7 +1083,6 @@ def _create_component_for_block(content_lib, usage_key, user_id=None):
component_version.pk,
content.id,
key="block.xml",
learner_downloadable=False
)

return component_version
Expand Down
1 change: 0 additions & 1 deletion openedx/core/djangoapps/content_libraries/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,6 @@ def component_version_asset(request, component_version_uuid, asset_path):
component_version_uuid,
asset_path,
public=False,
learner_downloadable_only=False,
)

# If there was any error, we return that response because it will have the
Expand Down

0 comments on commit 7486495

Please sign in to comment.