/**
  * Set RT comments status for article.
  * @param $args array ($articleId)
  */
 function updateCommentsStatus($args)
 {
     $articleId = isset($args[0]) ? (int) $args[0] : 0;
     $this->validate($articleId);
     $submission =& $this->submission;
     SectionEditorAction::updateCommentsStatus($submission, Request::getUserVar('commentsStatus'));
     Request::redirect(null, null, 'submission', $articleId);
 }
 /**
  * Set RT comments status for article.
  * @param $args array ($articleId)
  */
 function updateCommentsStatus($args)
 {
     $articleId = isset($args[0]) ? (int) $args[0] : 0;
     list($journal, $submission) = SubmissionEditHandler::validate($articleId);
     SectionEditorAction::updateCommentsStatus($submission, Request::getUserVar('commentsStatus'));
     Request::redirect(null, null, 'submission', $articleId);
 }
 /**
  * Set RT comments status for article.
  * @param $args array ($articleId)
  * @param $request PKPRequest
  */
 function updateCommentsStatus($args, &$request)
 {
     $articleId = (int) array_shift($args);
     $this->validate($articleId);
     SectionEditorAction::updateCommentsStatus($this->submission, $request->getUserVar('commentsStatus'));
     $request->redirect(null, null, 'submission', $articleId);
 }