/**
  * Remove cover page from article
  * @param $args array
  * @param $request PKPRequest
  */
 function removeArticleCoverPage($args, &$request)
 {
     $articleId = (int) array_shift($args);
     $this->validate($request, $articleId);
     $formLocale = array_shift($args);
     if (!AppLocale::isLocaleValid($formLocale)) {
         $request->redirect(null, null, 'viewMetadata', $articleId);
     }
     import('classes.submission.sectionEditor.SectionEditorAction');
     if (SectionEditorAction::removeArticleCoverPage($this->submission, $formLocale)) {
         $request->redirect(null, null, 'viewMetadata', $articleId);
     }
 }
 /**
  * Remove cover page from article
  */
 function removeArticleCoverPage($args, &$request)
 {
     $articleId = isset($args[0]) ? (int) $args[0] : 0;
     $this->validate($articleId);
     $formLocale = $args[1];
     if (!Locale::isLocaleValid($formLocale)) {
         $request->redirect(null, null, 'viewMetadata', $articleId);
     }
     $submission =& $this->submission;
     if (SectionEditorAction::removeArticleCoverPage($submission, $formLocale)) {
         $request->redirect(null, null, 'viewMetadata', $articleId);
     }
 }