/**
  * Delete a supplementary file.
  * @param $args array ($articleId, $suppFileId)
  */
 function deleteSuppFile($args)
 {
     $articleId = isset($args[0]) ? (int) $args[0] : 0;
     $suppFileId = isset($args[1]) ? (int) $args[1] : 0;
     $this->validate($articleId);
     $submission =& $this->submission;
     SectionEditorAction::deleteSuppFile($submission, $suppFileId);
     Request::redirect(null, null, $this->getFrom(), $articleId);
 }
 /**
  * Delete a supplementary file.
  * @param $args array ($articleId, $suppFileId)
  */
 function deleteSuppFile($args)
 {
     $articleId = isset($args[0]) ? (int) $args[0] : 0;
     $suppFileId = isset($args[1]) ? (int) $args[1] : 0;
     list($journal, $submission) = SubmissionEditHandler::validate($articleId);
     SectionEditorAction::deleteSuppFile($submission, $suppFileId);
     Request::redirect(null, null, SubmissionEditHandler::getFrom(), $articleId);
 }
 /**
  * Delete a supplementary file.
  * @param $args array ($articleId, $suppFileId)
  * @param $request PKPRequest
  */
 function deleteSuppFile($args, $request)
 {
     $articleId = (int) array_shift($args);
     $suppFileId = (int) array_shift($args);
     $this->validate($articleId);
     SectionEditorAction::deleteSuppFile($this->submission, $suppFileId);
     $request->redirect(null, null, $this->_getFrom(), $articleId);
 }