CtdlGetSysConfig() and CtdlPutSysConfig() now have the ability to store large configu...
authorArt Cancro <ajc@citadel.org>
Sun, 1 Aug 2021 18:10:29 +0000 (14:10 -0400)
committerArt Cancro <ajc@citadel.org>
Sun, 1 Aug 2021 18:10:29 +0000 (14:10 -0400)
commit4708119cea3c8b38057650eeb9af7765d29a3054
tree2928afee3dc11f6f743862ddc4a40d062245ce06
parent8de23d32481fc85d2af106eabe6f6c3962d0dd28
CtdlGetSysConfig() and CtdlPutSysConfig() now have the ability to store large configuration items as message texts in the Local System Configuration room by saving their message numbers as items in the regular configuration database.  This eliminates the last place where we did 'Delete all other messages in this room which have the same MIME type' and that ability has therefore been removed from the code.  There is enough code remaining to read configurations saved the old way, but they are upgraded the first time they are read.
citadel/config.c
citadel/modules/calendar/serv_calendar.c
citadel/modules/vcard/serv_vcard.c
citadel/msgbase.c
citadel/msgbase.h
textclient/tuiconfig.c