Permalink
Browse files

Remove remaining traces of identity_url

  • Loading branch information...
1 parent 995c0b9 commit 028e834cea23fa42830fe35656f224d6f4340766 @jamesu committed Oct 4, 2011
Showing with 1 addition and 9 deletions.
  1. +0 −4 app/controllers/users_controller.rb
  2. +1 −2 app/models/user.rb
  3. +0 −1 db/migrate_basecamp.rb
  4. +0 −2 test/factories.rb
@@ -111,8 +111,6 @@ def create
else
@user.company_id = @company.id
end
-
- @user.identity_url = user_attribs[:identity_url] if user_attribs[:identity_url]
# Process core parameters
@@ -191,8 +189,6 @@ def update
@user.password = user_params[:password]
@user.password_confirmation = user_params[:password_confirmation]
end
-
- @user.identity_url = user_params[:identity_url] if user_params[:identity_url]
# Process core parameters
View
@@ -303,8 +303,7 @@ def to_xml(options = {}, &block)
:twister,
:last_login,
:last_visit,
- :last_activity,
- :identity_url
+ :last_activity
]}
self.ar_to_xml(options.merge(default_options), &block)
end
@@ -115,7 +115,6 @@ def import_company(firm_attribs, owner=nil)
user.username = user_attribs['user-name'].text
user.is_admin = user_attribs['administrator'].nil? ? false : user_attribs['administrator'].text
user.auto_assign = user_attribs['has-access-to-new-projects'].text
- user.identity_url = user_attribs['identity-url'].text
user.company = company
user.password = "password"
View
@@ -21,8 +21,6 @@
u.is_admin false
u.auto_assign true
- u.identity_url ''
-
u.sequence(:email) {|n| "#{n}#{Faker::Internet.email}" }
u.password 'password'

0 comments on commit 028e834

Please sign in to comment.