Events associated to hidden activities are now invisible in calendar, using new field 'visible' in table 'event' which is updated each time a course module is hidden or unhidden.

This commit is contained in:
gustav_delius
2004-05-05 07:07:56 +00:00
parent b0942cf145
commit dcd338ffdc
12 changed files with 108 additions and 76 deletions
+1
View File
@@ -151,6 +151,7 @@ CREATE TABLE `prefix_event` (
`eventtype` varchar(20) NOT NULL default '',
`timestart` int(10) unsigned NOT NULL default '0',
`timeduration` int(10) unsigned NOT NULL default '0',
`visible` tinyint(4) NOT NULL default '1',
`timemodified` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),