Commit 42decab2 by Tuomas Riihimäki

Accounteventcreation logging

1 parent f50a95be
...@@ -158,7 +158,7 @@ public class ProductPBean { ...@@ -158,7 +158,7 @@ public class ProductPBean {
// flush changes to db. // flush changes to db.
// userFacade.flush(); // userFacade.flush();
lbean.sendMessage(MoyaEventType.ACCOUNTEVENT_INFO, permbean.getCurrentUser(), "User created accountevent: ", ret.getId()); lbean.sendMessage(MoyaEventType.ACCOUNTEVENT_INFO, user, "User created accountevent: for product ", ret.getProduct().getName(), " count: ", ret.getQuantity());
return ret; return ret;
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!