Skip to content

Commit

Permalink
Update config.d
Browse files Browse the repository at this point in the history
* Dont display Shared Files Directory if feature not enabled
  • Loading branch information
abraunegg committed Mar 17, 2024
1 parent 8493ea8 commit 235fbf7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/config.d
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 235fbf7

Please sign in to comment.