Update config.d

* Dont display Shared Files Directory if feature not enabled
This commit is contained in:
abraunegg 2024-03-18 07:25:53 +11:00
parent 8493ea8744
commit 235fbf7772

View file

@ -1362,7 +1362,10 @@ class ApplicationConfig {
// Is sync_business_shared_items enabled and configured ?
addLogEntry(); // used instead of an empty 'writeln();' to ensure the line break is correct in the buffered console output ordering
addLogEntry("Config option 'sync_business_shared_items' = " ~ to!string(getValueBool("sync_business_shared_items")));
addLogEntry("Config option 'Shared Files Directory' = " ~ configuredBusinessSharedFilesDirectoryName);
if (getValueBool("sync_business_shared_items")) {
// display what the shared files directory will be
addLogEntry("Config option 'Shared Files Directory' = " ~ configuredBusinessSharedFilesDirectoryName);
}
// Are webhooks enabled?
addLogEntry(); // used instead of an empty 'writeln();' to ensure the line break is correct in the buffered console output ordering