Skip to content

Commit

Permalink
pkp#229 OrcidProfilePlugin-705
Browse files Browse the repository at this point in the history
  • Loading branch information
withanage committed Feb 3, 2023
1 parent 5eba685 commit ca342a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 131 deletions.
5 changes: 4 additions & 1 deletion OrcidProfilePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,10 @@ public function sendAuthorMail($author, $updateAuthor = false)

// Send to author
$mailable->recipients([$author]);
$mailable->view('ssssss');
$emailTemplateKey = $mailable::getEmailTemplateKey();
$emailTemplate = Repo::emailTemplate()->getByKey($contextId, $emailTemplateKey);
$mailable->body($emailTemplate->getLocalizedData('body'))
->subject($emailTemplate->getLocalizedData('subject'));
Mail::send($mailable);

if ($updateAuthor) {
Expand Down
130 changes: 0 additions & 130 deletions OrcidProfileSettingsForm.inc.php

This file was deleted.

0 comments on commit ca342a4

Please sign in to comment.