function thankCopyeditor($args = array())
 {
     $articleId = Request::getUserVar('articleId');
     $this->validate($articleId, SECTION_EDITOR_ACCESS_EDIT);
     $submission =& $this->submission;
     $send = Request::getUserVar('send') ? true : false;
     $this->setupTemplate(true, $articleId, 'editing');
     if (SectionEditorAction::thankCopyeditor($submission, $send)) {
         Request::redirect(null, null, 'submissionEditing', $articleId);
     }
 }
 function thankCopyeditor($args = array())
 {
     $articleId = Request::getUserVar('articleId');
     list($journal, $submission) = SubmissionEditHandler::validate($articleId, SECTION_EDITOR_ACCESS_EDIT);
     $send = Request::getUserVar('send') ? true : false;
     parent::setupTemplate(true, $articleId, 'editing');
     if (SectionEditorAction::thankCopyeditor($submission, $send)) {
         Request::redirect(null, null, 'submissionEditing', $articleId);
     }
 }
 /**
  * Thank the copyeditor.
  * @param $args array
  * @param $request PKPRequest
  */
 function thankCopyeditor($args, $request)
 {
     $articleId = (int) $request->getUserVar('articleId');
     $this->validate($articleId, SECTION_EDITOR_ACCESS_EDIT);
     $send = $request->getUserVar('send') ? true : false;
     $this->setupTemplate(true, $articleId, 'editing');
     if (SectionEditorAction::thankCopyeditor($this->submission, $send, $request)) {
         $request->redirect(null, null, 'submissionEditing', $articleId);
     }
 }