function monitoring_modules_enabled in Monitoring 7
Implements hook_modules_enabled().
Enabling modules can change the available sensors, reset the cache to make sure that the list is up to date.
File
- ./
monitoring.module, line 652 - Monitoring bootstrap file.
Code
function monitoring_modules_enabled($modules) {
monitoring_sensor_manager()
->resetCache();
}