summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergii Bondarenko2015-11-12 11:14:44 (GMT)
committerSergii Bondarenko2015-11-12 11:14:44 (GMT)
commitbe49babb6c377e7bde12e3fcc906f5c6f5f40073 (patch)
treec1dde719075ca0fbac65cf794f5e9aac3a95f19c
parent48aad2584ab0fd9be212b5fb32f910bfa7581d70 (diff)
Removed unnecessary arguments for environment_fieldaccess_grant()HEAD7.x-1.27.x-1.x
-rw-r--r--environment_fieldaccess.grant.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment_fieldaccess.grant.inc b/environment_fieldaccess.grant.inc
index 20fc157..f35a8c2 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']);