stable
Clone or download
Read-only
Replace intermediate array by something that carry sense. As a bonus, it avoides to re-query for user for each and every strategy. Part of: story #10469 choose if I receive a notification when I create/update something Change-Id: I404becaff61ad92eb176a768c85154017d2b6381
Modified Files
Name | ||||
---|---|---|---|---|
R | plugins/tracker/include/Tracker/Notifications/GetUserFromRecipient.php | Go to diff View file | ||
M | plugins/tracker/include/Tracker/Notifications/RecipientRemovalStrategy.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Notifications/RecipientsManager.php | +25 | −16 | Go to diff View file |
M | plugins/tracker/include/Tracker/Notifications/RemoveRecipient/RemoveRecipientThatCannotReadAnything.php | +11 | −8 | Go to diff View file |
M | plugins/tracker/include/Tracker/Notifications/RemoveRecipient/RemoveRecipientThatHaveUnsubscribedFromNotification.php | +10 | −8 | Go to diff View file |
M | plugins/tracker/include/Tracker/Notifications/RemoveRecipient/RemoveRecipientWhenTheyAreInCreationOnlyMode.php | +10 | −12 | Go to diff View file |
M | plugins/tracker/include/Tracker/Notifications/RemoveRecipient/RemoveRecipientWhenTheyAreInStatusUpdateOnlyMode.php | +10 | −11 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Notifications/RemoveRecipient/RemoveRecipientWhenTheyAreInStatusUpdateOnlyModeTest.php | +4 | −11 | Go to diff View file |