stable

Clone or download

Read-only

Deal with item deletion

This is a part of story #9892: notify group of people in addition to individuals Run forgeupgrade, insert entries in the table plugin_docman_notification_ugroups. You need an item_id and a ugroup_id. You should use both types: 'plugin_docman', 'plugin_docman_cascade' When you delete an item, all notifications on it should be removed. Change-Id: I9f607d8d6ef523ac26d42a9f8808f25af4c302c9

Modified Files

Name
M plugins/docman/include/Docman_ItemFactory.class.php +33 −10 Go to diff View file
M plugins/docman/include/Notifications/Dao.php +10 −0 Go to diff View file
M plugins/docman/include/Notifications/UgroupsToNotifyDao.php +10 −0 Go to diff View file
M plugins/docman/tests/ItemFactoryTest.php +45 −8 Go to diff View file