Commit 4fb06931 authored by Francisco Cunha's avatar Francisco Cunha

P4A-800 - Remove duplicate code

parent eec915a0
......@@ -107,10 +107,6 @@ public class NotificationController {
public void addNewMailsNotification(Account account, List<LocalMessage> messages, int previousUnreadMessageCount) {
newMailNotifications.addNewMailsNotification(account, messages, previousUnreadMessageCount);
for (LocalMessage message : messages) {
newMailNotifications.addNewMailNotification(account, message, previousUnreadMessageCount);
}
}
public void removeNewMailNotification(Account account, MessageReference messageReference) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment