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