Currently the DiscussionTools extension has to be installed for the ReportIncident extension to work. This is because the Hooks.php file implements a DiscussionTools hook and as such when the DiscussionTools extension is not installed this fails to work.
Acceptance criteria
- The DiscussionTools hook usage should be moved to a separate handler
- Tests related to DiscussionTools be skipped if not installed.
- The extension be tested to work without DiscussionTools enabled