function recipe_update_6104 in Recipe 6
Same name and namespace in other branches
- 7.2 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 327 - 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;
}