Skip to content

Commit

Permalink
add deprecation warnings re future removal of general_user_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
ndushay committed May 12, 2012
1 parent 78db341 commit 20a0f37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/hydra/generic_user_attributes.rb
@@ -1,5 +1,10 @@
module Hydra::GenericUserAttributes

def self.included(base)
ActiveSupport::Deprecation.warn("Hydra::GenericUserAttributes has been deprecated and will be removed no later than release 6. Use devise or similar.")
super
end

USER_ATTRIBUTES = ['first_name','last_name','full_name','affiliation','photo']

attr_writer :user_attributes
Expand Down

0 comments on commit 20a0f37

Please sign in to comment.