You are here

function monitoring_modules_disabled in Monitoring 7

Implements hook_modules_disabled().

Disabling modules can change the available sensors, reset the cache to make sure that the list is up to date.

File

./monitoring.module, line 662
Monitoring bootstrap file.

Code

function monitoring_modules_disabled($modules) {

  //
  monitoring_sensor_manager()
    ->resetCache();
}