Commit 9079085f authored by Patrick Derichs's avatar Patrick Derichs

Remove unneeded parentheses

parent b5b56588
...@@ -37,7 +37,7 @@ class NotesFinder ...@@ -37,7 +37,7 @@ class NotesFinder
target_iid = @params[:target_iid] target_iid = @params[:target_iid]
return @target = nil unless target_type return @target = nil unless target_type
return @target = nil unless (target_id || target_iid) return @target = nil unless target_id || target_iid
@target = @target =
if target_type == "commit" if target_type == "commit"
......
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