Course announcement: Fix query to add extrafields

pull/3928/head
Tony ID 4 years ago
parent 0ffd5a34a0
commit ce40d2f46a
  1. 7
      main/install/configuration.dist.php

@ -1968,10 +1968,9 @@ ALTER TABLE gradebook_comment ADD CONSTRAINT FK_C3B70763AD3ED51C FOREIGN KEY (gr
// Show option to set course announcement date
// Allow send notification at a especific Date. Require DB changes:
/*
INSERT INTO `chamilo`.`extra_field`(`extra_field_type`, `field_type`, `variable`, `display_text`, `default_value`, `field_order`, `visible_to_self`, `visible_to_others`, `changeable`, `filter`, `created_at`)
VALUES (21, 13, 'send_notification_at_a_specific_date', 'Send notification at a specific date', '', 0, 1, 0, 0, 0, NOW());
INSERT INTO `chamilo`.`extra_field`(`extra_field_type`, `field_type`, `variable`, `display_text`, `default_value`, `field_order`, `visible_to_self`, `visible_to_others`, `changeable`, `filter`, `created_at`)
VALUES (21, 6, 'date_to_send_notification', 'Date to send notification', '', 0, 1, 0, 0, 0, NOW());
INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, field_order, visible_to_self, visible_to_others, changeable, filter, created_at)
VALUES (21, 13, 'send_notification_at_a_specific_date', 'Send notification at a specific date', 0, 1, 0, 0, 0, NOW()),
(21, 6, 'date_to_send_notification', 'Date to send notification', 0, 1, 0, 0, 0, NOW());
*/
//$_configuration['course_announcement_scheduled_by_date'] = false;

Loading…
Cancel
Save