Revision: 4516
Author: seba.wagner
Date: Sun Nov 6 05:58:38 2011
Log: Add some comments to the invitation hash return type
http://code.google.com/p/openmeetings/source/detail?r=4516
Modified:
/trunk/singlewebapp/src/app/org/openmeetings/app/data/conference/Invitationmanagement.java
=======================================
---
/trunk/singlewebapp/src/app/org/openmeetings/app/data/conference/Invitationmanagement.java
Sun Nov 6 05:52:37 2011
+++
/trunk/singlewebapp/src/app/org/openmeetings/app/data/conference/Invitationmanagement.java
Sun Nov 6 05:58:38 2011
@@ -1020,9 +1020,11 @@
invitation.setInvitationWasUsed(true);
this.updateInvitation(invitation);
//
invitation.setInvitationpass(null);
+
invitation.setAllowEntry(true);
return invitation;
}
} else {
+ invitation.setAllowEntry(true);
return invitation;
}
@@ -1039,7 +1041,8 @@
} else {
// Invitation is of type
*period* and is not valid
- // anymore
+ // anymore, this is an extra
hook to display the time correctly
+ // in the method where it shows that the hash code does not work
anymore
invitation.setAllowEntry(false);
return invitation;
@@ -1047,6 +1050,8 @@
} else {
// Invitation is not limited, neither
time nor single-usage
this.updateInvitation(invitation);
+
+ invitation.setAllowEntry(true);
// invitation.setInvitationpass(null);
return invitation;
}
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.