stable
Clone or download
Read-only
Part of story #35093 execute custom code as artifact post action When removing a module, the logs are not needed anymore. And if the Tracker admin upload a new module, the logs of previous module are not relevant. *Testing:* In a Tracker with some logs, delete your uploaded module, then upload a new one. No logs should be displayed. Logs of others Trackers should not be impacted. Change-Id: I803e8bab6c3ca2dc2ef14207ec8f2a3364513232
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker_cce/include/TrackerCCE/Administration/RemoveModuleController.php | +3 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Logs/DeleteLogsPerTracker.php | +29 | −0 | Go to diff View file |
M | plugins/tracker_cce/include/TrackerCCE/Logs/ModuleLogDao.php | +16 | −2 | Go to diff View file |
M | plugins/tracker_cce/include/tracker_ccePlugin.php | +1 | −0 | Go to diff View file |
M | plugins/tracker_cce/tests/integration/TrackerCCE/Logs/ModuleLogDaoTest.php | +11 | −0 | Go to diff View file |
A | plugins/tracker_cce/tests/unit/Stub/Logs/DeleteLogsPerTrackerStub.php | +49 | −0 | Go to diff View file |
M | plugins/tracker_cce/tests/unit/TrackerCCE/Administration/RemoveModuleControllerTest.php | +7 | −0 | Go to diff View file |