function thankReviewer($args = array()) { $articleId = Request::getUserVar('articleId'); list($journal, $submission) = SubmissionEditHandler::validate($articleId, SECTION_EDITOR_ACCESS_REVIEW); $reviewId = Request::getUserVar('reviewId'); $send = Request::getUserVar('send') ? true : false; parent::setupTemplate(true, $articleId, 'review'); if (SectionEditorAction::thankReviewer($submission, $reviewId, $send)) { Request::redirect(null, null, 'submissionReview', $articleId); } }
function thankReviewer($args = array()) { $articleId = Request::getUserVar('articleId'); $this->validate($articleId, SECTION_EDITOR_ACCESS_REVIEW); $submission =& $this->submission; $reviewId = Request::getUserVar('reviewId'); $send = Request::getUserVar('send') ? true : false; $this->setupTemplate(true, $articleId, 'review'); if (SectionEditorAction::thankReviewer($submission, $reviewId, $send)) { Request::redirect(null, null, 'submissionReview', $articleId); } }