Commit d2958460 authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'id-removed-unused-method' into 'master'

Remove unused render_lock_icon method

See merge request gitlab-org/gitlab!29928
parents 653fb785 52b1e3b7
......@@ -72,19 +72,5 @@ module EE
link_to label, '#', html_options
end
def render_lock_icon(path)
return unless @project.root_ref?(@ref)
if file_lock = @project.find_path_lock(path, exact_match: true)
content_tag(
:i,
nil,
class: "fa fa-lock prepend-left-5 append-right-5",
title: text_label_for_lock(file_lock, path),
'data-toggle' => 'tooltip'
)
end
end
end
end
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