Commit a4dfe556 authored by davereid's avatar davereid Committed by Tim Plunkett
Browse files

Issue #1335082 by Dave Reid: Update the 'administer field collection' permission machine name.

parent fc02caec
......@@ -45,3 +45,13 @@ function field_collection_field_schema($field) {
'columns' => $columns,
);
}
/**
* Update the administer field collection permission machine name.
*/
function field_collection_update_7000() {
db_update('role_permission')
->fields(array('permission' => 'administer field collections'))
->condition('permission', 'administer field-collections')
->execute();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment