Remove unused variable user at lib/gitlab/markdown

This commit is contained in:
Ciro Santilli 2014-10-23 13:12:21 +02:00
parent 47064ea55c
commit 40815b2baf

View file

@ -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