summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2019-08-20 14:03:03 -0700
committerJohn Cai <jcai@gitlab.com>2019-08-20 14:03:03 -0700
commite3a8a4d3cc62f5b8dd4385506eb058b42c52bc51 (patch)
tree776a4fea478d2e3e4cfec9a7cba9ca4a89552afa
parent1349a3d5b3b6d6bc151429a969b4cc78fd91c355 (diff)
downloadgitlab-ce-jc-remove-add-namespace-from-project.tar.gz
Remove add namespace call from project creationjc-remove-add-namespace-from-project
-rw-r--r--app/models/project.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 8efe4b06f87..d02087624a6 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -112,8 +112,6 @@ class Project < ApplicationRecord
# Storage specific hooks
after_initialize :use_hashed_storage
after_create :check_repository_absence!
- after_create :ensure_storage_path_exists
- after_save :ensure_storage_path_exists, if: :saved_change_to_namespace_id?
acts_as_ordered_taggable