From ce53f7ae8aba371deefd994b81d79576e546f75c Mon Sep 17 00:00:00 2001 From: Rowan Date: Mon, 12 Dec 2022 16:18:07 +0000 Subject: [PATCH] Reword to remove an unused variable and make code clearer Co-authored-by: gregcorbett --- lib/Gocdb_Services/NotificationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Gocdb_Services/NotificationService.php b/lib/Gocdb_Services/NotificationService.php index e2637f2af..3e8025d5d 100644 --- a/lib/Gocdb_Services/NotificationService.php +++ b/lib/Gocdb_Services/NotificationService.php @@ -135,7 +135,7 @@ private function sendEmail($roleRequested, $requestingUser, $entityName, $approv $roleRequested->getRoleType()->getName(), $roleRequested->getOwnedEntity()->getName(), $this->getWebPortalURL(), - $emailSendTo->configService->getEmailTo() + $configService->getEmailTo() ); $emailAddress = $approvingUser->getEmail();