From cfeddb554e08264dba5ab8b36aa8780929db7ff6 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 27 Nov 2012 18:27:13 +0000 Subject: Fix user creation cause of dual namespace build --- app/observers/user_observer.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'app/observers/user_observer.rb') 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 -- cgit v1.2.1