summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-28 11:30:38 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-28 11:30:38 +0200
commitdc5d845dd740b3302273aee14985203db407c3ab (patch)
treed97b414a6305209fdcf4692002ab159c66b3a1b9
parent18a7fa550d2ab9ab4c20709a9fa0a0a75e3bf3c6 (diff)
downloadgitlab-ce-fix/gb/fix-repository-existence-cache-expiration.tar.gz
Fix repository existence cache expirationfix/gb/fix-repository-existence-cache-expiration
-rw-r--r--app/controllers/projects_controller.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 5480814874b..fedbc1fe089 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -335,10 +335,7 @@ class ProjectsController < Projects::ApplicationController
def repo_exists?
project.repository_exists? && !project.empty_repo? && project.repo
-
rescue Gitlab::Git::Repository::NoRepository
- project.repository.expire_exists_cache
-
false
end