summaryrefslogtreecommitdiff
path: root/app/models/repository.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-03 15:48:09 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-03 15:50:22 -0300
commit6143642a5ff2bbc63736b4b05d9583e72527fd5e (patch)
tree5d7818ad8d53e9bcc3cbcc0894872a2a0647f522 /app/models/repository.rb
parent35fe9c660cc5309e244ce1bde5f65b4e7ec73e4e (diff)
downloadgitlab-ce-6143642a5ff2bbc63736b4b05d9583e72527fd5e.tar.gz
Refactoring Projects::ImportService
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index adc2fd563ff..6b2383b73eb 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -402,10 +402,6 @@ class Repository
expire_tags_cache
end
- def before_import
- expire_content_cache
- end
-
# Runs code after the HEAD of a repository is changed.
def after_change_head
expire_method_caches(METHOD_CACHES_FOR_FILE_TYPES.keys)