From 1b9bdac6a0820bde7e07ec983cff365ac2afe62a Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 5 Nov 2020 03:39:32 -0800 Subject: [PATCH] dev/translation#58 - Partially revert schema for civicrm_group.title --- CRM/Contact/DAO/Group.php | 3 +-- CRM/Core/I18n/SchemaStructure.php | 3 +-- xml/schema/Contact/Group.xml | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CRM/Contact/DAO/Group.php b/CRM/Contact/DAO/Group.php index c6428e5b0e..d0d027ed2e 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:25bcea958ed3b88317a2bbb89169b0a6) + * (GenCodeChecksum:cab0c1d345870ec17420e9100fe2518f) */ /** @@ -264,7 +264,6 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Group Title'), 'description' => ts('Name of Group.'), - 'required' => TRUE, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'where' => 'civicrm_group.title', diff --git a/CRM/Core/I18n/SchemaStructure.php b/CRM/Core/I18n/SchemaStructure.php index 641d565d23..03fda988b5 100644 --- a/CRM/Core/I18n/SchemaStructure.php +++ b/CRM/Core/I18n/SchemaStructure.php @@ -92,7 +92,7 @@ class CRM_Core_I18n_SchemaStructure { 'description' => "text COMMENT 'Optional description.'", ], 'civicrm_group' => [ - 'title' => "varchar(255) NOT NULL COMMENT 'Name of Group.'", + 'title' => "varchar(255) COMMENT 'Name of Group.'", 'frontend_title' => "varchar(255) DEFAULT NULL COMMENT 'Alternative public title for this Group.'", 'frontend_description' => "text DEFAULT NULL COMMENT 'Alternative public description of the group.'", ], @@ -414,7 +414,6 @@ class CRM_Core_I18n_SchemaStructure { 'civicrm_group' => [ 'title' => [ 'type' => "Text", - 'required' => "true", ], 'frontend_title' => [ 'type' => "Text", diff --git a/xml/schema/Contact/Group.xml b/xml/schema/Contact/Group.xml index 043beab52d..d726af3758 100644 --- a/xml/schema/Contact/Group.xml +++ b/xml/schema/Contact/Group.xml @@ -34,7 +34,6 @@ Group Title 255 true - true Name of Group. 1.1 -- 2.25.1