Skip to content

Commit

Permalink
#4646 another comment promting to remove code
Browse files Browse the repository at this point in the history
  • Loading branch information
philippze committed Apr 30, 2017
1 parent 79ddefc commit 10b7440
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cms/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ def get_desired_language(self):
language = get_desired_language(self.request, self.page)
if not language:
# TODO: What is the use case for this?
# This is not present in cms.utils.get_desired_language:
# This is not present in cms.utils.get_desired_language
# If we omit this, all tests will still pass:
language = get_language_code(get_language())
return language

Expand Down

0 comments on commit 10b7440

Please sign in to comment.