diff options
author | DJ Mountney <david@twkie.net> | 2018-05-11 22:46:42 +0300 |
---|---|---|
committer | Ahmad Hassan <ahmad.hassan612@gmail.com> | 2018-05-15 16:43:04 +0300 |
commit | 4ea9458bbeb28d0a9ba70b45810bda9433467ddd (patch) | |
tree | bd4b857b4053b50ecdd22a847225ef516ffcbe4a | |
parent | 2bcc324f268942d28c427cd3208e43df03af957d (diff) |
Remove hooks restore that is no longer necessary
-rw-r--r-- | lib/backup/repository.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/backup/repository.rb b/lib/backup/repository.rb index 74b9e0205a4..02897a11fac 100644 --- a/lib/backup/repository.rb +++ b/lib/backup/repository.rb @@ -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 |