From 643f3121df31238b37468cb3dbf5c1a40d960bf8 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 10 Nov 2016 17:12:07 +1300 Subject: [PATCH] (towards CRM-19492) Remove defunct vars I could find no evidence of these being used anywhere --- CRM/Contact/Form/Merge.php | 16 ---------------- templates/CRM/Contact/Form/Merge.tpl | 4 ---- 2 files changed, 20 deletions(-) diff --git a/CRM/Contact/Form/Merge.php b/CRM/Contact/Form/Merge.php index cb529b5027..003f88e744 100644 --- a/CRM/Contact/Form/Merge.php +++ b/CRM/Contact/Form/Merge.php @@ -218,22 +218,6 @@ class CRM_Contact_Form_Merge extends CRM_Core_Form { $this->assign('userContextURL', $session->readUserContext()); } - /** - * This virtual function is used to set the default values of - * various form elements - * - * access public - * - * @return array - * reference to the array of default values - */ - /** - * @return array - */ - public function setDefaultValues() { - return array('deleteOther' => 1); - } - public function addRules() { } diff --git a/templates/CRM/Contact/Form/Merge.tpl b/templates/CRM/Contact/Form/Merge.tpl index af9082eab8..5afe986721 100644 --- a/templates/CRM/Contact/Form/Merge.tpl +++ b/templates/CRM/Contact/Form/Merge.tpl @@ -235,10 +235,6 @@ {/if} {/foreach} -
- - -
{include file="CRM/common/formButtons.tpl" location="bottom"} -- 2.25.1