diff options
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index cab3e896159..97d2aa1c89e 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -414,8 +414,6 @@ class Repository Gitlab::Git::Blob.remove(raw_repository, options) end - private - def user_to_comitter(user) { email: user.email, @@ -424,6 +422,8 @@ class Repository } end + private + def cache @cache ||= RepositoryCache.new(path_with_namespace) end |