Skip to content

Commit fb6a238

Browse files
authored
Merge pull request #6621 from umbraco/content-cleanup
Defined default value of ContentCleanupPolicy for v13+
2 parents 16be235 + 050c96c commit fb6a238

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

13/umbraco-cms/reference/configuration/contentsettings.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,15 @@ See [Content Version Cleanup](../../fundamentals/data/content-version-cleanup.md
200200
}
201201
```
202202

203-
If you don't wish to retain any content versions except for the current draft and currently published you can set both of the "keep" settings values to 0. After doing this, the next time the scheduled job runs (hourly) all non-current versions (except those marked "prevent cleanup") will be removed.
203+
To retain only the current draft and published version, set both the "keep" settings values to 0. The next time the scheduled job runs (hourly) all non-current versions (except those marked "prevent cleanup") will be removed.
204204

205205
### EnableCleanup
206206

207-
When `true` a scheduled job will delete historic content versions that are not kept according to the policy every hour.
207+
When set to `true`, a scheduled job will delete historic content versions that are not retained according to the policy every hour.
208208

209-
When `false`, the scheduled job will never delete any content versions regardless of overridden settings for a Document Type.
209+
When set to `false`, the scheduled job will not delete any content versions, regardless of any overridden settings for a Document Type.
210210

211-
This defaults to `false` when not set in the configuration which will be the case for those upgrading from v9.0.0. However, the dotnet new template will supply an appsettings.json with the value set to true for all sites starting from Umbraco 9.1.0.
211+
The dotnet new template provides an `appsettings.json` file with the default value set to `true` for all sites.
212212

213213
### KeepAllVersionsNewerThanDays
214214

14/umbraco-cms/reference/configuration/contentsettings.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,15 @@ See [Content Version Cleanup](../../fundamentals/data/content-version-cleanup.md
186186
}
187187
```
188188

189-
If you don't wish to retain any content versions except for the current draft and currently published you can set both of the "keep" settings values to 0. After doing this, the next time the scheduled job runs (hourly) all non-current versions (except those marked "prevent cleanup") will be removed.
189+
To retain only the current draft and published version, set both the "keep" settings values to 0. The next time the scheduled job runs (hourly) all non-current versions (except those marked "prevent cleanup") will be removed.
190190

191191
### EnableCleanup
192192

193-
When `true` a scheduled job will delete historic content versions that are not kept according to the policy every hour.
193+
When set to `true`, a scheduled job will delete historic content versions that are not retained according to the policy every hour.
194194

195-
When `false`, the scheduled job will never delete any content versions regardless of overridden settings for a Document Type.
195+
When set to `false`, the scheduled job will not delete any content versions, regardless of any overridden settings for a Document Type.
196196

197-
This defaults to `false` when not set in the configuration which will be the case for those upgrading from v9.0.0. However, the dotnet new template will supply an appsettings.json with the value set to true for all sites starting from Umbraco 9.1.0.
197+
The dotnet new template provides an `appsettings.json` file with the default value set to `true` for all sites.
198198

199199
### KeepAllVersionsNewerThanDays
200200

0 commit comments

Comments
 (0)