updated nofication producer at new asl social version
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@77070 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3e8643d502
commit
88b3f0c75e
|
@ -441,7 +441,7 @@ public class NotificationsProducer {
|
|||
//DEBUG
|
||||
System.out.println("Sending notification to user "+infoContactModel.getLogin() +" moved item "+workspaceItem.getName()+" in shared folder "+sharedFolder.getName());
|
||||
|
||||
boolean notify = notificationsMng.notifyRemovedItem(infoContactModel.getLogin(), workspaceItem, sharedFolder);
|
||||
boolean notify = notificationsMng.notifyMovedItem(infoContactModel.getLogin(), workspaceItem, sharedFolder);
|
||||
|
||||
if(!notify){
|
||||
gcubeLogger.error("An error occured when notify user: "+infoContactModel.getLogin());
|
||||
|
@ -510,15 +510,15 @@ public class NotificationsProducer {
|
|||
|
||||
|
||||
|
||||
// boolean notify = notificationsMng.notifyRemovedItem(infoContactModel.getLogin(), workspaceItem, sharedFolder);
|
||||
boolean notify = notificationsMng.notifyRemovedItem(infoContactModel.getLogin(), itemName, sharedFolder);
|
||||
|
||||
|
||||
// if(!notify){
|
||||
// gcubeLogger.error("An error occured when notify user: "+infoContactModel.getLogin());
|
||||
if(!notify){
|
||||
gcubeLogger.error("An error occured when notify user: "+infoContactModel.getLogin());
|
||||
|
||||
//DEBUG
|
||||
// System.out.println("An error occured when notify user: "+infoContactModel.getLogin());
|
||||
// }
|
||||
System.out.println("An error occured when notify user: "+infoContactModel.getLogin());
|
||||
}
|
||||
}
|
||||
}catch (Exception e) {
|
||||
gcubeLogger.error("An error occurred in notifyRemovedItemToSharing ", e);
|
||||
|
|
Loading…
Reference in New Issue