mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-26 01:48:06 +02:00
Rewrite sync to use new features
This commit is contained in:
parent
b0983603e5
commit
16f2b6235d
7 changed files with 502 additions and 365 deletions
|
@ -1,12 +1,22 @@
|
|||
<?php
|
||||
return [
|
||||
'contact_categories' => [
|
||||
'name' => 'contact_categories',
|
||||
'title' => ts('Contact Category settings'),
|
||||
'description' => ts('JSON encoded settings.'),
|
||||
'contactcats_last_run' => [
|
||||
'name' => 'contact_categories_last_run',
|
||||
'title' => ts('Contact categories last assigned timestamp'),
|
||||
'description' => ts('UNIX timestamp of last time the categories were assigned to contacts.'),
|
||||
'group_name' => 'domain',
|
||||
'type' => 'String',
|
||||
'serialize' => CRM_Core_DAO::SERIALIZE_JSON,
|
||||
'type' => 'Int',
|
||||
'default' => FALSE,
|
||||
'add' => '5.70',
|
||||
'is_domain' => 1,
|
||||
'is_contact' => 0,
|
||||
],
|
||||
'contactcats_next_run' => [
|
||||
'name' => 'contact_categories_next_run',
|
||||
'title' => ts('Contact categories next assignment due'),
|
||||
'description' => ts('UNIX timestamp after which cron will re-assign categories to contacts.'),
|
||||
'group_name' => 'domain',
|
||||
'type' => 'Int',
|
||||
'default' => FALSE,
|
||||
'add' => '5.70',
|
||||
'is_domain' => 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue