Commit 5284862c authored by Michal Čihař's avatar Michal Čihař

Remove unused code

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent c8a9b956
......@@ -519,7 +519,6 @@ def new_language(request, project, subproject):
if isinstance(langs, string_types):
langs = [langs]
for language in Language.objects.filter(code__in=langs):
same_lang = obj.translation_set.filter(language=language)
if obj.new_lang == 'contact':
notify_new_language(obj, language, request.user)
messages.success(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment