diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-27 18:27:13 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-27 18:27:13 +0000 |
commit | cfeddb554e08264dba5ab8b36aa8780929db7ff6 (patch) | |
tree | 2b01c1a15be63fcb74e838d2effbdc360f7187f3 /app/observers/user_observer.rb | |
parent | 81f8114f24313bb90f09f5ed1ff656759cb55020 (diff) | |
download | gitlab-ce-cfeddb554e08264dba5ab8b36aa8780929db7ff6.tar.gz |
Fix user creation cause of dual namespace build
Diffstat (limited to 'app/observers/user_observer.rb')
-rw-r--r-- | app/observers/user_observer.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/observers/user_observer.rb b/app/observers/user_observer.rb index 7cb939622f0..09b3c1d622f 100644 --- a/app/observers/user_observer.rb +++ b/app/observers/user_observer.rb @@ -1,7 +1,5 @@ class UserObserver < ActiveRecord::Observer def after_create(user) - user.create_namespace(path: user.username, name: user.name) - log_info("User \"#{user.name}\" (#{user.email}) was created") Notify.new_user_email(user.id, user.password).deliver |