You are here

function field_permissions_update_7000 in Field Permissions 7

Sets a larger weight for the module so that the Field Permissions become available.

File

./field_permissions.install, line 44
Install, update and uninstall functions for the Field Permissions module.

Code

function field_permissions_update_7000(&$sandbox) {
  db_update('system')
    ->fields(array(
    'weight' => 50,
  ))
    ->condition('name', 'field_permissions')
    ->execute();
}