Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Oct 22, 2024
1 parent 87698b1 commit 75d06a0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions xmodule/item_bank_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,9 +503,6 @@ def author_view(self, context):
is_root = root_xblock and root_xblock.usage_key == self.usage_key
if is_root and self.children:
# User has clicked the "View" link. Show a preview of all possible children:
max_count = self.max_count
if max_count < 0:
max_count = len(self.children)
context['can_edit_visibility'] = False
context['can_move'] = False
context['can_collapse'] = True
Expand Down

0 comments on commit 75d06a0

Please sign in to comment.