removed all group from communications target

Former-commit-id: 797a467fed8eff0f9a81c9bbe72780f4e91faa67
This commit is contained in:
fbsanchez 2019-05-16 12:52:41 +02:00
parent 3cdbfd3646
commit ec60a3193a
2 changed files with 0 additions and 3 deletions

View File

@ -2084,7 +2084,6 @@ INSERT INTO `tnotification_source_user` (`id_source`, `id_user`, `enabled`, `als
INSERT INTO `tnotification_source_group` SELECT `id`,0 FROM `tnotification_source` WHERE `description`="Message";
INSERT INTO `tnotification_user` (`id_mensaje`, `id_user`) SELECT `id_mensaje`, `id_usuario_destino` FROM `tmensajes` WHERE `id_usuario_destino` != '';
INSERT INTO `tnotification_source_user` (`id_source`, `id_user`, `enabled`, `also_mail`) VALUES ((SELECT `id` FROM `tnotification_source` WHERE `description`="Official communication"), "admin", 1, 0);
INSERT INTO `tnotification_source_group` SELECT `id`,0 FROM `tnotification_source` WHERE `description`="Official communication";
UPDATE `tnotification_source` SET `enabled`=1 WHERE `description` = 'System status' OR `description` = 'Official communication';
-- ----------------------------------------------------------------------

View File

@ -1318,7 +1318,5 @@ INSERT INTO `tnotification_source_group` SELECT `id`,0 FROM `tnotification_sourc
INSERT INTO `tnotification_source_user` (`id_source`, `id_user`, `enabled`, `also_mail`) VALUES
((SELECT `id` FROM `tnotification_source` WHERE `description`="Official communication"), "admin", 1, 0);
INSERT INTO `tnotification_source_group` SELECT `id`,0 FROM `tnotification_source` WHERE `description`="Official communication";
UPDATE `tnotification_source` SET `enabled`=1 WHERE `description` = 'System status' OR `description` = 'Official communication';