stable

Clone or download

Read-only

chore: Remove constant based events from tracker plugin

Non-class constant based events like `addHook(TRACKER_USAGE)` cannot be converted to attribute based events because there is no way to know if the constant exist. Therefore we have to convert to class constant first. No functional changes. Part of request #31113: Simplify hook listening for plugins Change-Id: Ia1b0e2a40f6e267a61605a1473af256226a8df88

Modified Files

Name
M plugins/agiledashboard/include/agiledashboardPlugin.php +21 −57 Go to diff View file
M plugins/cardwall/include/cardwallPlugin.php +7 −7 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +2 −2 Go to diff View file
M plugins/testmanagement/include/testmanagementPlugin.php +6 −5 Go to diff View file
M plugins/timetracking/include/timetrackingPlugin.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Admin/GlobalAdmin/Trackers/MarkTrackerAsDeletedController.php +10 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ArtifactLinkValueSaver.php +14 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Priority.php +12 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +32 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticFactory.class.php +25 −2 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticManager.class.php +22 −2 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +31 −5 Go to diff View file
M plugins/tracker/include/Tracker/TrackerFactory.class.php +25 −2 Go to diff View file
M plugins/tracker/include/constants.php +0 −182 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +4 −2 Go to diff View file
M plugins/tracker_encryption/include/tracker_encryptionPlugin.php +3 −2 Go to diff View file
M plugins/velocity/include/velocityPlugin.php +3 −3 Go to diff View file