Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2017-04-10 01:06:21 +0300
committerblackst0ne <blackst0ne.ru@gmail.com>2017-04-10 01:06:21 +0300
commit9f8ae20fc4380a24968e2444561aaa3402110a35 (patch)
tree7a2131ec7bfba4fbdb7e27505294f1d74056a818 /app
parent3d1cade13f61115b63bf6dbda5a1f194ba54b24b (diff)
Fix redundant cache expiration in Repository
Diffstat (limited to 'app')
-rw-r--r--app/models/repository.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index f4c51cdfdf4..526ab1e77a7 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -407,8 +407,6 @@ class Repository
# Runs code after a repository has been forked/imported.
def after_import
expire_content_cache
- expire_tags_cache
- expire_branches_cache
end
# Runs code after a new commit has been pushed.