Skip to content

Commit ce53f7a

Browse files
rowan04gregcorbett
andauthored
Reword to remove an unused variable and make code clearer
Co-authored-by: gregcorbett <[email protected]>
1 parent a03d495 commit ce53f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gocdb_Services/NotificationService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private function sendEmail($roleRequested, $requestingUser, $entityName, $approv
135135
$roleRequested->getRoleType()->getName(),
136136
$roleRequested->getOwnedEntity()->getName(),
137137
$this->getWebPortalURL(),
138-
$emailSendTo->configService->getEmailTo()
138+
$configService->getEmailTo()
139139
);
140140

141141
$emailAddress = $approvingUser->getEmail();

0 commit comments

Comments
 (0)