Skip to content

Commit bb87c8e

Browse files
committed
Remove unnecessary function call
1 parent 0bb2a4e commit bb87c8e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/OpenConext/EngineBlock/Metadata/Factory/ValueObject/EngineBlockConfiguration.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,9 @@ public function __construct(
107107
$this->logo->height = $logoHeight;
108108

109109
// Create the contact person data for the EB SP entity
110-
$organizationName = $translator->trans('metadata_organization_name');
111-
$support = ContactPerson::from('support', $organizationName, 'Support', $this->supportMail);
112-
$technical = ContactPerson::from('technical', $organizationName, 'Support', $this->supportMail);
113-
$administrative = ContactPerson::from('administrative', $organizationName, 'Support', $this->supportMail);
110+
$support = ContactPerson::from('support', $this->organizationName, 'Support', $this->supportMail);
111+
$technical = ContactPerson::from('technical', $this->organizationName, 'Support', $this->supportMail);
112+
$administrative = ContactPerson::from('administrative', $this->organizationName, 'Support', $this->supportMail);
114113

115114
$this->contactPersons = [$support, $technical, $administrative];
116115
}

0 commit comments

Comments
 (0)