[Branch ~dhis2-devs-core/dhis2/trunk] Rev 309: - Added PeriodType to DataElement. No database change. - Fixed bug related to edit of User.