Commit Graph

7 Commits

Author SHA1 Message Date
Sukhwinder Dhillon a850ff13d7 IcingadbBackend: Remove isAvailable method and property
As it is only used internally now, it is no more required
2024-01-16 10:27:10 +01:00
Sukhwinder Dhillon d30a56a385 Fix phpcs issues 2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon 677f5dc72a Monitoring/IcingadbBackend: Handle if $hostName or $serviceName is null 2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon 956cce84cb Cleanup code
- Remove superfluous methods/usages
- Simplify the code
2024-01-16 09:51:44 +01:00
Sukhwinder Dhillon 604667ca65 Relocate Backend classes 2024-01-15 16:25:02 +01:00
Sukhwinder Dhillon 9baa3c4341 Remove redudant class `MonitorBackendMonitoring` and adjuct code accordigly
- Use class `Monitoring` instead
- Remove not in use methods from `MonitorBackend` interface and from classes that implements this interface
- Add param types and return type hint to methods
2024-01-15 16:24:27 +01:00
Thomas Gelf 40254714b8 Permissions: refactor, fix monitoring module checks
fixes #2712
2023-02-23 11:51:53 +01:00