Commit 6080ff90 authored by Nick Thomas's avatar Nick Thomas

Fix some robocop failures caused by automatic merge

parent 83fcdf59
...@@ -105,10 +105,6 @@ class Projects::GitHttpController < Projects::GitHttpClientController ...@@ -105,10 +105,6 @@ class Projects::GitHttpController < Projects::GitHttpClientController
access_check.allowed? access_check.allowed?
end end
def log_user_activity
Users::ActivityService.new(user, 'pull').execute
end
def access_klass def access_klass
@access_klass ||= wiki? ? Gitlab::GitAccessWiki : Gitlab::GitAccess @access_klass ||= wiki? ? Gitlab::GitAccessWiki : Gitlab::GitAccess
end end
......
...@@ -53,12 +53,6 @@ module API ...@@ -53,12 +53,6 @@ module API
] ]
end end
def log_user_activity(actor)
commands = Gitlab::GitAccess::DOWNLOAD_COMMANDS
::Users::ActivityService.new(actor, 'Git SSH').execute if commands.include?(params[:action])
end
def parse_env def parse_env
return {} if params[:env].blank? return {} if params[:env].blank?
......
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