summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2017-04-10 09:06:21 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2017-04-10 09:06:21 +1100
commit9f8ae20fc4380a24968e2444561aaa3402110a35 (patch)
tree7a2131ec7bfba4fbdb7e27505294f1d74056a818 /app/models
parent3d1cade13f61115b63bf6dbda5a1f194ba54b24b (diff)
downloadgitlab-ce-9f8ae20fc4380a24968e2444561aaa3402110a35.tar.gz
Fix redundant cache expiration in Repository
Diffstat (limited to 'app/models')
-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.