Minor changes in SciProApplication.properties and code cleanup in ControllerImpl.
This commit is contained in:
parent
d70fdee6a5
commit
9fe7bfc5be
src/main/java/se/su/dsv/scipro
@ -1,3 +1,5 @@
|
|||||||
|
# Properties used by the NotificationControllerImpl.
|
||||||
|
|
||||||
# Web notifications:
|
# Web notifications:
|
||||||
conferencePost.webNotification = ${firstName} ${lastName} posted on conference "{0}".
|
conferencePost.webNotification = ${firstName} ${lastName} posted on conference "{0}".
|
||||||
pm.webNotification = ${firstName} ${lastName} wrote a private message to you.
|
pm.webNotification = ${firstName} ${lastName} wrote a private message to you.
|
||||||
|
@ -320,11 +320,6 @@ public class NotificationControllerImpl implements NotificationController {
|
|||||||
supervisorReviewUrl, NotificationPriority.MEDIUM);
|
supervisorReviewUrl, NotificationPriority.MEDIUM);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* TODO Rewrite
|
|
||||||
*
|
|
||||||
* @param review
|
|
||||||
*/
|
|
||||||
public void notifyOfReviewRating(PeerReview review) {
|
public void notifyOfReviewRating(PeerReview review) {
|
||||||
|
|
||||||
String webNotificationMessage = new StringResourceModel("reviewRated.webNotification", null).getString();
|
String webNotificationMessage = new StringResourceModel("reviewRated.webNotification", null).getString();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user