stable

Clone or download

Read-only

Refacto: extract addListeners in dedicated objects

part of story #12447 Modal new document for empty/wiki/link This commit extract the addListeners for logs and for notifications in dedicated object. Theeses objects will be reused for REST route POST docman_items No functionnal changes, you should be able to use old UI as usual. Change-Id: Ib0b6720e6ff329950da17d78a879d546d4934916

Modified Files

Name
M plugins/docman/include/Docman_Controller.class.php +38 −179 Go to diff View file
A plugins/docman/include/Log/LogEventAdder.php +69 −0 Go to diff View file
A plugins/docman/include/Notifications/NotificationBuilders.php +220 −0 Go to diff View file
A plugins/docman/include/Notifications/NotificationEventAdder.php +166 −0 Go to diff View file