Commit | Line | Data |
---|---|---|
022098bb TC |
1 | {* file to handle db changes in 4.7.alpha1 during upgrade *} |
2 | ||
3 | -- CRM-16354 | |
4 | SELECT @option_group_id_wysiwyg := max(id) from civicrm_option_group where name = 'wysiwyg_editor'; | |
6cc25669 | 5 | |
6dbe2c23 | 6 | UPDATE civicrm_option_value SET name = 'Textarea', {localize field='label'}label = 'Textarea'{/localize} |
6cc25669 CW |
7 | WHERE value = 1 AND option_group_id = @option_group_id_wysiwyg; |
8 | ||
9 | DELETE FROM civicrm_option_value WHERE name IN ('Joomla Default Editor', 'Drupal Default Editor') | |
022098bb | 10 | AND option_group_id = @option_group_id_wysiwyg; |
6cc25669 | 11 | |
6dbe2c23 | 12 | UPDATE civicrm_option_value SET is_active = 1, is_reserved = 1 WHERE option_group_id = @option_group_id_wysiwyg; |
fdee8d8d SB |
13 | |
14 | --CRM-16719 | |
15 | SELECT @option_group_id_report := max(id) from civicrm_option_group where name = 'report_template'; | |
16 | ||
17 | UPDATE civicrm_option_value SET {localize field="label"}label = 'Activity Details Report'{/localize} | |
18 | WHERE value = 'activity' AND option_group_id = @option_group_id_report; | |
19 | ||
20 | UPDATE civicrm_option_value SET {localize field="label"}label = 'Activity Summary Report'{/localize} | |
21 | WHERE value = 'activitySummary' AND option_group_id = @option_group_id_report; | |
dd55005c | 22 | |
23 | --CRM-16853 PCP Owner Notification | |
24 | ||
25 | {include file='../CRM/Upgrade/4.7.alpha1.msg_template/civicrm_msg_template.tpl'} | |
26 |