From d6ce4895206591c646929886b729dd08db12cb04 Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Sun, 12 Mar 2023 16:45:27 +0000 Subject: [PATCH] Remove unused onPopupClose variables --- CRM/Profile/Form/Edit.php | 3 --- templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CRM/Profile/Form/Edit.php b/CRM/Profile/Form/Edit.php index 4916638d5e..f58da43349 100644 --- a/CRM/Profile/Form/Edit.php +++ b/CRM/Profile/Form/Edit.php @@ -39,9 +39,6 @@ class CRM_Profile_Form_Edit extends CRM_Profile_Form { public function preProcess() { $this->_mode = CRM_Profile_Form::MODE_CREATE; - $this->_onPopupClose = CRM_Utils_Request::retrieve('onPopupClose', 'String', $this); - $this->assign('onPopupClose', $this->_onPopupClose); - //set the context for the profile $this->_context = CRM_Utils_Request::retrieve('context', 'Alphanumeric', $this); diff --git a/templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl b/templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl index 12cdfbd575..cfc101a04f 100644 --- a/templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl +++ b/templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl @@ -104,7 +104,7 @@
{ts 1=$customGroupTitle}Add %1 Record{/ts} {else} - {ts}Add New Record{/ts} {/if} -- 2.25.1