summaryrefslogtreecommitdiff
path: root/app/models/project.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-27 19:05:56 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-27 19:06:03 +0000
commitbbcd372db175c8f19b4b72453ff57c9a19887c5f (patch)
tree6b9f1cdaf9387b79a1a500e45a5c1aef9feba2d4 /app/models/project.rb
parentd625f4e9fe78a69be0d481c20cba33b6dd88ef1a (diff)
downloadgitlab-ce-bbcd372db175c8f19b4b72453ff57c9a19887c5f.tar.gz
Add latest changes from gitlab-org/security/gitlab@15-2-stable-ee
Diffstat (limited to 'app/models/project.rb')
-rw-r--r--app/models/project.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 46e25564eab..ebfec34c3e1 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -2119,6 +2119,7 @@ class Project < ApplicationRecord
end
def after_import
+ repository.remove_prohibited_branches
repository.expire_content_cache
wiki.repository.expire_content_cache