From ca9b6dbfe852023d8feec9c67e06018bb9eccf62 Mon Sep 17 00:00:00 2001 From: Kedar Khaire Date: Tue, 20 Aug 2024 10:44:56 +0530 Subject: [PATCH] Removed overriding code for new instance running on all instance (#1072) Co-authored-by: Shishir <75600200+shishir-intelli@users.noreply.github.com> --- modules/apigee_edge_teams/src/Entity/Form/TeamForm.php | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/apigee_edge_teams/src/Entity/Form/TeamForm.php b/modules/apigee_edge_teams/src/Entity/Form/TeamForm.php index 452e3062..436de1fa 100644 --- a/modules/apigee_edge_teams/src/Entity/Form/TeamForm.php +++ b/modules/apigee_edge_teams/src/Entity/Form/TeamForm.php @@ -163,7 +163,6 @@ public function buildEntity(array $form, FormStateInterface $form_state) { // We add to any team to make sure team creation works for mint orgs even // if they do not enable the m10n teams module. if ($this->orgController->isOrganizationApigeeX()) { - $team->setAttribute(static::APPGROUP_ADMIN_EMAIL_ATTRIBUTE, '[{"developer":"' . $this->currentUser->getEmail() . '","roles":["admin"]}]'); global $base_url; // Channel url for a team. $team->setChannelUri($base_url . '/teams/' . $team->id());