From a9359efae0991f9ba45f31106c1f2f83802bb2a4 Mon Sep 17 00:00:00 2001 From: Kevin Jump Date: Tue, 3 Oct 2023 21:42:02 +0100 Subject: [PATCH] Config Breaking: ImportTrashed should default to false. --- uSync.BackOffice/SyncHandlers/Handlers/ContentHandlerBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uSync.BackOffice/SyncHandlers/Handlers/ContentHandlerBase.cs b/uSync.BackOffice/SyncHandlers/Handlers/ContentHandlerBase.cs index be0d676c..5df05dd5 100644 --- a/uSync.BackOffice/SyncHandlers/Handlers/ContentHandlerBase.cs +++ b/uSync.BackOffice/SyncHandlers/Handlers/ContentHandlerBase.cs @@ -105,7 +105,7 @@ private bool ImportTrashedItem(XElement node, HandlerSettings config) { // unless the setting is explicit we don't import trashed items. var trashed = node.Element("Info")?.Element("Trashed").ValueOrDefault(false); - if (trashed.GetValueOrDefault(false) && !config.GetSetting("ImportTrashed", true)) return false; + if (trashed.GetValueOrDefault(false) && !config.GetSetting("ImportTrashed", false)) return false; return true; }