From 25262ed2ec0caa62a5325773b0cdb3c0517b6dd1 Mon Sep 17 00:00:00 2001 From: Oswaldo Ferreira Date: Fri, 2 Feb 2018 18:00:06 -0200 Subject: Remove unnused escape_html method --- app/services/system_note_service.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/services/system_note_service.rb b/app/services/system_note_service.rb index 17f0f5906cc..2253d638e93 100644 --- a/app/services/system_note_service.rb +++ b/app/services/system_note_service.rb @@ -653,10 +653,6 @@ module SystemNoteService content_tag('li', "#{commit_ids} - #{commits_text} from branch #{branch_name}".html_safe) end - def escape_html(text) - Rack::Utils.escape_html(text) - end - def url_helpers @url_helpers ||= Gitlab::Routing.url_helpers end -- cgit v1.2.1