summaryrefslogtreecommitdiff
path: root/app/models/concerns
diff options
context:
space:
mode:
authorJen-Shin Lin <jen-shin@gitlab.com>2017-10-17 10:12:24 +0000
committerStan Hu <stanhu@gmail.com>2017-10-17 15:58:58 -0700
commitbd46c8abfd5ee964c47eff0ace021e45cbbe6687 (patch)
treee22dc885b8d70829cf3893cc65c49f6351bc2d34 /app/models/concerns
parent9978ef9884023df12b3fbc5758cf93d166100c80 (diff)
downloadgitlab-ce-bd46c8abfd5ee964c47eff0ace021e45cbbe6687.tar.gz
Merge branch 'security-10-1' into '10-1-stable'
Security fixes for 10.1 RC See merge request gitlab/gitlabhq!2209
Diffstat (limited to 'app/models/concerns')
-rw-r--r--app/models/concerns/storage/legacy_namespace.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/concerns/storage/legacy_namespace.rb b/app/models/concerns/storage/legacy_namespace.rb
index 5ab5c80a2f5..b3020484738 100644
--- a/app/models/concerns/storage/legacy_namespace.rb
+++ b/app/models/concerns/storage/legacy_namespace.rb
@@ -7,6 +7,8 @@ module Storage
raise Gitlab::UpdatePathError.new('Namespace cannot be moved, because at least one project has tags in container registry')
end
+ expires_full_path_cache
+
# Move the namespace directory in all storage paths used by member projects
repository_storage_paths.each do |repository_storage_path|
# Ensure old directory exists before moving it