Fixed login error on new users
Added full name and address fields.
Change field_absent_id to field_alma_absent_id to matcht the other fields.
Removed deprecated features.inc file
Converted profile2 fields into virtual field, so personal data is not stored in the DB
* Remove form alters, hook_profile_init and clean out the main part of the module with entity_metadata_wrapper's
* Updated alma fields to use virtual fields and fixed the side effect to this.
* Using hook_profile2_load() to dynamic load content when needed (replaces the alters).
Change profile2 to use metadata wrappers in all file and basic clean up
Updated field weights
Disabled edit of fields that should not be changed by the user on the profile
Added new email field to the profile2 profile
Moved mail updateds into the providers hook_profile2_presave()
Moved interest periode back into the DB as alma do not support storing this value
Fixed interest period field in update and change mail to use virtual field
Changed the alma reservation pause field to a real datetime field
Added update function to change the reservation pause field type in the DB
Added configuration option to enter max pin code lenght and hook to return it to ding_user
Updated provider call account_update to update_pincode as it only updates pin code after provider profile was added
Added update function to remove un-used field database tables after switch to virtual fields
Added hook_enable to create profile2 type on module activation
Merge branch 'profile2-fixes' into development