/**
  * Delete a director version file.
  * @param $args array ($paperId, $fileId)
  */
 function deletePaperFile($args, $request)
 {
     $paperId = (int) array_shift($args);
     $fileId = (int) array_shift($args);
     $revisionId = (int) array_shift($args);
     $this->validate($request, $paperId, TRACK_DIRECTOR_ACCESS_REVIEW);
     $submission =& $this->submission;
     TrackDirectorAction::deletePaperFile($submission, $fileId, $revisionId);
     $request->redirect(null, null, null, 'submissionReview', $paperId);
 }
 /**
  * Delete a director version file.
  * @param $args array ($paperId, $fileId)
  */
 function deletePaperFile($args)
 {
     $paperId = isset($args[0]) ? (int) $args[0] : 0;
     $fileId = isset($args[1]) ? (int) $args[1] : 0;
     $revisionId = isset($args[2]) ? (int) $args[2] : 0;
     $this->validate($paperId, TRACK_DIRECTOR_ACCESS_REVIEW);
     $submission =& $this->submission;
     TrackDirectorAction::deletePaperFile($submission, $fileId, $revisionId);
     Request::redirect(null, null, null, 'submissionReview', $paperId);
 }