function panopoly_core_update_7101 in Panopoly Core 7
Change the Pathauto "Update action" to match the new default.
File
- ./
panopoly_core.install, line 142 - An installation file for Panopoly Core
Code
function panopoly_core_update_7101() {
// Only change this setting if the 'redirect' module isn't used OR if it's
// used in conjunction with the 'globalredirect' module.
if (!module_exists('redirect') || module_exists('globalredirect')) {
variable_set('pathauto_update_action', '1');
}
}