From ed62b6c26cac95443c5affe5bad939f31845a9ad Mon Sep 17 00:00:00 2001
From: Eileen McNaughton
Date: Sat, 11 Jun 2022 14:59:20 +1200
Subject: [PATCH] dev/core#3513 Remove 'done' from sumary/import monitoring
page
See dev/core#3513 for why it's confusing
---
CRM/Import/Form/Summary.php | 13 -------------
templates/CRM/Contact/Import/Form/Summary.tpl | 2 --
2 files changed, 15 deletions(-)
diff --git a/CRM/Import/Form/Summary.php b/CRM/Import/Form/Summary.php
index 352d9f27cf..efb521a39b 100644
--- a/CRM/Import/Form/Summary.php
+++ b/CRM/Import/Form/Summary.php
@@ -34,19 +34,6 @@ abstract class CRM_Import_Form_Summary extends CRM_Import_Forms {
$this->assignOutputURLs();
}
- /**
- * Build the form object.
- */
- public function buildQuickForm() {
- $this->addButtons(array(
- array(
- 'type' => 'next',
- 'name' => ts('Done'),
- 'isDefault' => TRUE,
- ),
- ));
- }
-
/**
* Return a descriptive name for the page, used in wizard header.
*
diff --git a/templates/CRM/Contact/Import/Form/Summary.tpl b/templates/CRM/Contact/Import/Form/Summary.tpl
index 0aa01607fd..046d353dd1 100644
--- a/templates/CRM/Contact/Import/Form/Summary.tpl
+++ b/templates/CRM/Contact/Import/Form/Summary.tpl
@@ -53,7 +53,6 @@
{/if}
-{include file="CRM/common/formButtons.tpl" location="top"}
{* Summary of Import Results (record counts) *}
{ts}Total Rows{/ts} |
@@ -124,5 +123,4 @@
- {include file="CRM/common/formButtons.tpl" location="bottom"}
--
2.25.1