function recipe_update_6104 in Recipe 7.2
Same name and namespace in other branches
- 6 recipe.install \recipe_update_6104()
- 7 recipe.install \recipe_update_6104()
Fixes bad index depth setting value from recipe-6.x-1.1
File
- ./
recipe.install, line 272 - Install, update and uninstall functions for the recipe module.
Code
function recipe_update_6104() {
$ret = array();
$depth = variable_get('recipe_index_depth', 4);
if ($depth <= 0) {
// Let the stock default value handle this.
variable_del('recipe_index_depth');
}
return $ret;
}