From 434eda47b578040f5260230945fbeacedf623692 Mon Sep 17 00:00:00 2001 From: colemanw Date: Thu, 25 May 2023 22:45:22 -0400 Subject: [PATCH] Metadata - Tag Group.refresh_date column as deprecated Field was deprecated as of https://github.com/civicrm/civicrm-core/pull/19287 --- CRM/Contact/DAO/Group.php | 8 +++++--- xml/schema/Contact/Group.xml | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CRM/Contact/DAO/Group.php b/CRM/Contact/DAO/Group.php index a56444d5aa..dc12c1e579 100644 --- a/CRM/Contact/DAO/Group.php +++ b/CRM/Contact/DAO/Group.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/Group.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:65f55d4c1449a2daf78f584395974789) + * (GenCodeChecksum:727ab4665b20bc8f541a0b3348fa17c5) */ /** @@ -174,11 +174,12 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { public $cache_date; /** - * Date and time when we need to refresh the cache next. + * Unused deprecated column. * * @var string * (SQL type: timestamp) * Note that values will be retrieved from the database as a string. + * @deprecated */ public $refresh_date; @@ -588,7 +589,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'name' => 'refresh_date', 'type' => CRM_Utils_Type::T_TIMESTAMP, 'title' => ts('Next Group Refresh Time'), - 'description' => ts('Date and time when we need to refresh the cache next.'), + 'description' => ts('Unused deprecated column.'), 'required' => FALSE, 'usage' => [ 'import' => FALSE, @@ -601,6 +602,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'entity' => 'Group', 'bao' => 'CRM_Contact_BAO_Group', 'localizable' => 0, + 'deprecated' => TRUE, 'readonly' => TRUE, 'add' => '4.3', ], diff --git a/xml/schema/Contact/Group.xml b/xml/schema/Contact/Group.xml index e6c3362620..c4403364f7 100644 --- a/xml/schema/Contact/Group.xml +++ b/xml/schema/Contact/Group.xml @@ -176,7 +176,8 @@ Next Group Refresh Time false true - Date and time when we need to refresh the cache next. + true + Unused deprecated column. 4.3 -- 2.25.1