Skip to content
Snippets Groups Projects
Commit 4ea9458b authored by DJ Mountney's avatar DJ Mountney Committed by Ahmad Hassan
Browse files

Remove hooks restore that is no longer necessary

parent 2bcc324f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -147,13 +147,6 @@ module Backup
progress.puts "Error #{e}".color(:red)
end
end
gitaly_migrate(:create_hooks) do |is_enabled|
# TODO: Need to find a way to do this for gitaly
unless is_enabled
Gitlab::Git::Repository.create_hooks(path_to_project_repo, Gitlab.config.gitlab_shell.hooks_path)
end
end
end
end
# rubocop:enable Metrics/AbcSize
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment