From 63f164d0998322ff18eb978180ddad2e2dd14c44 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 22 Jun 2024 06:46:47 -0700 Subject: [PATCH] Documentation: fix `PAPERLESS_EMPTY_TRASH_DELAY` name --- docs/configuration.md | 2 +- docs/usage.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 0c3345145..d16943c37 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -1366,7 +1366,7 @@ processing. This only has an effect if ## Trash -#### [`EMPTY_TRASH_DELAY=`](#EMPTY_TRASH_DELAY) {#EMPTY_TRASH_DELAY} +#### [`PAPERLESS_EMPTY_TRASH_DELAY=`](#PAPERLESS_EMPTY_TRASH_DELAY) {#PAPERLESS_EMPTY_TRASH_DELAY} : Sets how long in days documents remain in the 'trash' before they are permanently deleted. diff --git a/docs/usage.md b/docs/usage.md index 034447d6e..0500f8538 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -481,7 +481,7 @@ as "System". ## Document Trash When you first delete a document it is moved to the 'trash' until either it is explicitly deleted or it is automatically removed after a set amount of time has passed. -You can set how long documents remain in the trash before being automatically deleted with [`EMPTY_TRASH_DELAY`](configuration.md#EMPTY_TRASH_DELAY), which defaults +You can set how long documents remain in the trash before being automatically deleted with [`PAPERLESS_EMPTY_TRASH_DELAY`](configuration.md#PAPERLESS_EMPTY_TRASH_DELAY), which defaults to 30 days. Until the file is actually deleted (e.g. the trash is emptied), all files and database content remains intact and can be restored at any point up until that time. Additionally you may configure a directory where deleted files are moved to when they the trash is emptied with [`PAPERLESS_EMPTY_TRASH_DIR`](configuration.md#PAPERLESS_EMPTY_TRASH_DIR).