function node_limit_update_7002 in Node Limit 8
Same name and namespace in other branches
- 7 node_limit.install \node_limit_update_7002()
Implements hook_update_N().
Renaming limit_count field to keep names consistency.
File
- old/
node_limit.install, line 72
Code
function node_limit_update_7002() {
$ret = db_change_field('node_limit', 'limit_count', 'nlimit', array(
'description' => 'The node limit for this limit',
'type' => 'int',
'not null' => TRUE,
'default' => NODE_LIMIT_NO_LIMIT,
));
return !empty($ret);
}