function legal_update_1 in Legal 6.8
Same name and namespace in other branches
- 5 legal.install \legal_update_1()
- 6.7 legal.install \legal_update_1()
File
- ./
legal.install, line 62 - Installation and update functions for the Legal module.
Code
function legal_update_1() {
_system_update_utf8(array(
'legal_accepted',
'legal_conditions',
));
$ret = array();
db_add_field($ret, 'legal_conditions', 'extras', array(
'type' => 'text',
));
db_add_field($ret, 'legal_conditions', 'changes', array(
'type' => 'text',
));
return $ret;
}