diff options
author | Jacob Vosmaer (GitLab) <jacob@gitlab.com> | 2018-03-28 12:21:32 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-03-28 12:21:32 +0300 |
commit | c43e18fc495f66c4a96c9a72bdda72392fb0ea32 (patch) | |
tree | 6a15efa5bb9280c76e322f9be3e8661227f58c7a /app/models/repository.rb | |
parent | 066d2e0a9cc7f6bcd56115c031168b775a2374fd (diff) |
Remove some easy cases of 'path_to_repo' use
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 42f1ac43e29..2ba1c6cb8c9 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -93,10 +93,6 @@ class Repository "#<#{self.class.name}:#{@disk_path}>" end - def create_hooks - Gitlab::Git::Repository.create_hooks(path_to_repo, Gitlab.config.gitlab_shell.hooks_path) - end - def commit(ref = 'HEAD') return nil unless exists? return ref if ref.is_a?(::Commit) |