From f429adbeacc99bc1bdd3fbe9700db7607fcebb69 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 15 Sep 2023 14:37:54 +1200 Subject: [PATCH] Add deprecation notice to code that seems to be superceded --- CRM/Profile/Form/Edit.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Profile/Form/Edit.php b/CRM/Profile/Form/Edit.php index 88c2198607..09d05d9c0e 100644 --- a/CRM/Profile/Form/Edit.php +++ b/CRM/Profile/Form/Edit.php @@ -54,6 +54,7 @@ class CRM_Profile_Form_Edit extends CRM_Profile_Form { $this->assign('context', $this->_context); if ($this->_blockNo) { + CRM_Core_Error::deprecatedWarning('code believed to be unreachable'); $this->assign('blockNo', $this->_blockNo); $this->assign('prefix', $this->_prefix); } -- 2.25.1