diff --git a/application/Espo/Controllers/User.php b/application/Espo/Controllers/User.php index 88236c54a6..e6d1605e33 100644 --- a/application/Espo/Controllers/User.php +++ b/application/Espo/Controllers/User.php @@ -44,7 +44,7 @@ class User extends \Espo\Core\Controllers\Record throw new NotFound(); } - $acl = new \Espo\Core\Acl($user); + $acl = new \Espo\Core\Acl($user, $this->getConfig(), $this->getContainer()->get('fileManager'), $this->getMetadata()); return $acl->toArray(); } diff --git a/application/Espo/Resources/metadata/clientDefs/Email.json b/application/Espo/Resources/metadata/clientDefs/Email.json index 8624f88d41..d333835bf4 100644 --- a/application/Espo/Resources/metadata/clientDefs/Email.json +++ b/application/Espo/Resources/metadata/clientDefs/Email.json @@ -39,7 +39,6 @@ "label": "Reply", "action": "reply", "style": "default", - "icon": "glyphicon glyphicon-arrow-left", "acl": "read" } ],