function node_limit_update_7002 in Node Limit 7
Same name and namespace in other branches
- 8 old/node_limit.install \node_limit_update_7002()
Implements hook_update_N(). Renaming limit_count field to keep names consistency.
File
- ./
node_limit.install, line 68
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);
}