Skip to content
Snippets Groups Projects
Unverified Commit f39fe198 authored by DaveD's avatar DaveD Committed by GitHub
Browse files

Merge pull request #24240 from civicrm/5.53

5.53
parents 5d051e28 1a6e5fbe
Branches
Tags
No related merge requests found
......@@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/DashboardContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:ca2325df4ca179436e4901bbed693e20)
* (GenCodeChecksum:fd3f7ea02b93c0dd3ecd46fb757bc2a3)
*/
/**
......@@ -67,7 +67,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
/**
* Is this widget active?
*
* @var bool|string
* @var bool|string|null
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
......@@ -195,9 +195,8 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Dashlet is Active?'),
'description' => ts('Is this widget active?'),
'required' => TRUE,
'where' => 'civicrm_dashboard_contact.is_active',
'default' => '1',
'default' => '0',
'table_name' => 'civicrm_dashboard_contact',
'entity' => 'DashboardContact',
'bao' => 'CRM_Contact_BAO_DashboardContact',
......
......@@ -61,6 +61,10 @@ class CRM_Upgrade_Incremental_php_FiveFiftyThree extends CRM_Upgrade_Incremental
$this->addTask('Add Recent Items Providers', 'addRecentItemsProviders');
}
public function upgrade_5_53_beta1($rev): void {
$this->addTask(ts('Upgrade DB to %1: SQL', [1 => $rev]), 'runSql', $rev);
}
/**
* @param CRM_Queue_TaskContext $ctx
* @return bool
......
{* file to handle db changes in 5.53.beta1 during upgrade *}
ALTER TABLE `civicrm_dashboard_contact` MODIFY COLUMN `is_active` TINYINT(4) DEFAULT 0 COMMENT 'Is this widget active?';
......@@ -69,7 +69,7 @@
"tecnickcom/tcpdf" : "6.4.*",
"totten/ca-config": "~22.05",
"zetacomponents/base": "1.9.*",
"zetacomponents/mail": "1.9.*",
"zetacomponents/mail": "~1.9.3",
"marcj/topsort": "~1.1",
"phpoffice/phpword": "^0.18.0",
"pear/validate_finance_creditcard": "0.7.0",
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "0d26ff1d3cf6aacd77e3b92a91b15be5",
"content-hash": "dabb3c7d59caccf8b70e618133cea611",
"packages": [
{
"name": "adrienrn/php-mimetyper",
......
......@@ -98,8 +98,7 @@
<type>boolean</type>
<title>Dashlet is Active?</title>
<comment>Is this widget active?</comment>
<default>1</default>
<required>true</required>
<default>0</default>
<add>3.1</add>
</field>
<field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment