提交 8ecd9b57 编写于 作者: R Robert Schilling

Remove leftover API helper for removed CI API

上级 93ad8344
......@@ -45,18 +45,4 @@ module ApiHelpers
oauth_access_token: oauth_access_token
)
end
def ci_api(path, user = nil)
"/ci/api/v1/#{path}" +
# Normalize query string
(path.index('?') ? '' : '?') +
# Append private_token if given a User object
if user.respond_to?(:private_token)
"&private_token=#{user.private_token}"
else
''
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册