Commit ebb839a9 authored by Francisco Javier López's avatar Francisco Javier López Committed by Jan Provaznik

Remove `Gitlab::Utils.system_silent` method

parent 4c41fe4b
...@@ -13,14 +13,6 @@ module Gitlab ...@@ -13,14 +13,6 @@ module Gitlab
path path
end end
# Run system command without outputting to stdout.
#
# @param cmd [Array<String>]
# @return [Boolean]
def system_silent(cmd)
Popen.popen(cmd).last.zero?
end
def force_utf8(str) def force_utf8(str)
str.dup.force_encoding(Encoding::UTF_8) str.dup.force_encoding(Encoding::UTF_8)
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