function crumbs_update_7202 in Crumbs, the Breadcrumbs suite 7.2
Rename the crumbs_override_theme_breadcrumb settings.
File
- ./
crumbs.install, line 49 - Install, update and uninstall functions for the crumbs module.
Code
function crumbs_update_7202() {
$overrides = variable_get('crumbs_override_theme_breadcrumb', array(
'(other)',
));
$overrides_updated = array();
foreach ($overrides as $key => $value) {
if (!empty($value)) {
if ('(other)' === $value) {
$f = 'theme_breadcrumb';
}
elseif ('_breadcrumb' !== substr($value, -11)) {
$f = $value . '_breadcrumb';
}
else {
$f = $value;
}
$overrides_updated[$f] = $f;
}
}
variable_set('crumbs_override_theme_breadcrumb', $overrides_updated);
}