function acquia_purge_update_7104 in Acquia Purge 7
Set 'expire_status', 'expire_debug' and 'expire_include_base_url' correctly.
Before version 7.x-1.0, these variables were set in a hook_boot() implementation that did more bad than good, and it turned out to not even always work (Acquia #137455). Now diagnostics report badly whenever these settings change as well, so hard-forcing them is no longer needed.
File
- ./
acquia_purge.install, line 176 - Installation file for the Acquia Purge module.
Code
function acquia_purge_update_7104(&$sandbox) {
variable_set('expire_status', EXPIRE_STATUS_ENABLED_EXTERNAL);
variable_set('expire_debug', EXPIRE_DEBUG_DISABLED);
variable_set('expire_include_base_url', FALSE);
}