diff --git a/environment_fieldaccess.grant.inc b/environment_fieldaccess.grant.inc index 20fc157dd815b5eabaeadc3bc474df5eca4355ae..f35a8c280eeffe4c82b7dc619f4b174276bc6fff 100644 --- a/environment_fieldaccess.grant.inc +++ b/environment_fieldaccess.grant.inc @@ -9,7 +9,7 @@ * * @see callback_fieldaccess_grant() */ -function environment_fieldaccess_grant(array $settings, \stdClass $object, \stdClass $account, array $context) { +function environment_fieldaccess_grant(array $settings) { $settings = _environment_fieldaccess_settings($settings, TRUE); $state = array_key_exists(environment_current(), $settings['environment']);