CONF LOADVAL and CONF STOREVAL are deprecated and probably safe to remove.
authorArt Cancro <ajc@citadel.org>
Sun, 1 Aug 2021 18:15:24 +0000 (14:15 -0400)
committerArt Cancro <ajc@citadel.org>
Sun, 1 Aug 2021 18:15:24 +0000 (14:15 -0400)
citadel/control.c

index 22f6625582926adf20264dac06bfc6e3754b6e06..9e790e5b07b70946b48dead32f28bebd3e435442 100644 (file)
@@ -641,7 +641,7 @@ void cmd_conf(char *argbuf)
        }
 
        // CONF GETVAL - retrieve configuration variables from the database
-       // CONF LOADVAL - same thing but can handle variables bigger than 1 KB
+       // CONF LOADVAL - same thing but can handle variables bigger than 1 KB (deprecated and probably safe to remove)
        else if ( (!strcasecmp(cmd, "GETVAL")) || (!strcasecmp(cmd, "LOADVAL")) ) {
                extract_token(confname, argbuf, 1, '|', sizeof confname);
                char *v = CtdlGetConfigStr(confname);
@@ -670,7 +670,7 @@ void cmd_conf(char *argbuf)
                }
        }
 
-       // CONF STOREVAL - store configuration variables in the database bigger than 1 KB
+       // CONF STOREVAL - store configuration variables in the database bigger than 1 KB (deprecated and probably safe to remove)
        else if (!strcasecmp(cmd, "STOREVAL")) {
                if (num_tokens(argbuf, '|') < 3) {
                        cprintf("%d name and length required\n", ERROR);