function mediafront_modules_disabled in MediaFront 7.2
Implements hook_modules_disabled().
File
- ./
mediafront.module, line 60
Code
function mediafront_modules_disabled($modules) {
// If views disabled, set menu as needed to be rebuilt
// The availability of certain menu items depends on views being enabled or not
if (in_array('views', $modules)) {
variable_set('menu_rebuild_needed', TRUE);
}
}