stable

Clone or download

Read-only

Refactoring of extractNotificationLevel

This is part of story #11647 reduce notifications tracker users receive No functionnal changes here. Add more readability to the code, move the checks that are the responsibility of NotificationLevelExtractor and add new tests Change-Id: I6075998509c964293235c8b324f1a7781acbda61

Modified Files

Name
M plugins/tracker/include/Tracker/Notifications/NotificationLevelExtractor.php +9 −1 Go to diff View file
M plugins/tracker/include/Tracker/Tracker_NotificationsManager.class.php +55 −35 Go to diff View file
M plugins/tracker/phpunit/Tracker/Notifications/NotificationLevelExtractorTest.php +51 −5 Go to diff View file