function field_collection_update_7000 in Field collection 7
Update the administer field collection permission machine name.
File
- ./
field_collection.install, line 103 - Install, update and uninstall functions for the field_collection module.
Code
function field_collection_update_7000() {
db_update('role_permission')
->fields(array(
'permission' => 'administer field collections',
))
->condition('permission', 'administer field-collections')
->execute();
}