Remove hooks restore that is no longer necessary

This commit is contained in:
DJ Mountney 2018-05-11 12:46:42 -07:00 committed by Ahmad Hassan
parent 2bcc324f26
commit 4ea9458bbe
1 changed files with 0 additions and 7 deletions

View File

@ -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