function vud_node_update_6201 in Vote Up/Down 7
Same name and namespace in other branches
- 6.3 vud_node/vud_node.install \vud_node_update_6201()
- 6.2 vud_node/vud_node.install \vud_node_update_6201()
use new constants to manage count/widget visibility
File
- vud_node/
vud_node.install, line 23 - Install, update and uninstall functions for the Vote Up/Down Node module.
Code
function vud_node_update_6201() {
$ret = array();
$widget_visibility = variable_get('vud_node_widget_show', NULL);
if (!is_null($widget_visibility)) {
$widget_visibility++;
variable_set('vud_node_widget_show', $widget_visibility);
}
// no DB updates
return $ret;
}