Remove unused variable user at lib/gitlab/markdown
This commit is contained in:
parent
47064ea55c
commit
40815b2baf
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ module Gitlab
|
|||
|
||||
if identifier == "all"
|
||||
link_to("@all", project_url(project), options)
|
||||
elsif user = User.find_by(username: identifier)
|
||||
elsif User.find_by(username: identifier)
|
||||
link_to("@#{identifier}", user_url(identifier), options)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue