Removed unused idea notification PARTNER_TIMEOUT.

This commit is contained in:
Andreas Svanberg 2014-12-17 15:13:36 +01:00
parent eccf913543
commit b306ab39e4
3 changed files with 4 additions and 2 deletions
core/src/main
java/se/su/dsv/scipro/notifications/dataobject
resources/db/migration
view/src/main/java/se/su/dsv/scipro

@ -19,7 +19,7 @@ public class IdeaEvent extends NotificationEvent {
public enum Event {
STATUS_CHANGE, SUPERVISOR_CHANGE, PARTNER_ADDED, PARTNER_ACCEPT, PARTNER_DECLINE,
ADDED_AS_PARTNER, PARTNER_TIMEOUT, FIRST_MEETING, EXPORTED_SUCCESS, EXPORTED_FAIL
ADDED_AS_PARTNER, FIRST_MEETING, EXPORTED_SUCCESS, EXPORTED_FAIL
}
@ManyToOne

@ -0,0 +1,3 @@
DELETE FROM `NotificationData` WHERE `DTYPE` = 'IdeaEvent' AND `event` = 'PARTNER_TIMEOUT';
DELETE FROM `notification_delivery_configuration` WHERE `type` = 'IDEA' and `event` = 'PARTNER_TIMEOUT';
DELETE FROM `notification_receiver_configuration` WHERE `type` = 'IDEA' and `event` = 'PARTNER_TIMEOUT';

@ -78,7 +78,6 @@ IdeaEvent.PARTNER_ADDED = Partner (author) added. (generic notification)
IdeaEvent.PARTNER_ACCEPT = Partner (author) accepted partnering idea.
IdeaEvent.PARTNER_DECLINE = Partner (author) declined partnering idea.
IdeaEvent.ADDED_AS_PARTNER = Author added as partner on idea. (notification for author that was added as partner)
IdeaEvent.PARTNER_TIMEOUT = Partner (author) did not accept partnering within allotted time window.
IdeaEvent.FIRST_MEETING = First meeting created. (with date, time, place/room/communication method specified by supervisor)
IdeaEvent.EXPORTED_SUCCESS = Idea was successfully exported to a thesis course in Daisy and a project in SciPro.
IdeaEvent.EXPORTED_FAIL = Exporting of idea to thesis course in Daisy and project in SciPro failed. (e.g. because Daisy was unresponsive, an author didn't meet the required criteria etc)