You are here

function deploy_modules_enabled in Deploy - Content Staging 7.3

Implements hook_modules_enabled().

File

./deploy.module, line 867
Deploy module functions.

Code

function deploy_modules_enabled($modules) {
  if (in_array('encrypt', $modules)) {
    _deploy_encrypt_endpoints();

    // There is no easy way to know that the Encrypt module was enabled
    // and now disabled/uninstalled. Set variable to track the module status.
    variable_set('encrypt_module_enabled', TRUE);
  }
}