From d68f8f73497ffe631b5b20868ad44458c44fb9a1 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sat, 30 Nov 2019 02:10:58 -0400 Subject: [PATCH] Fix settings global name Signed-off-by: Roberto Rosario --- mayan/apps/document_states/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mayan/apps/document_states/settings.py b/mayan/apps/document_states/settings.py index 657754856b..cfbb675c7b 100644 --- a/mayan/apps/document_states/settings.py +++ b/mayan/apps/document_states/settings.py @@ -13,10 +13,10 @@ from .utils import callback_update_workflow_image_cache_size namespace = Namespace(label=_('Workflows'), name='document_states') setting_workflow_image_cache_maximum_size = namespace.add_setting( - global_name='WORKFLOW_IMAGE_CACHE_MAXIMUM_SIZE', + global_name='WORKFLOWS_IMAGE_CACHE_MAXIMUM_SIZE', default=DEFAULT_WORKFLOW_IMAGE_CACHE_MAXIMUM_SIZE, help_text=_( - 'The threshold at which the WORKFLOW_IMAGE_CACHE_STORAGE_BACKEND will ' + 'The threshold at which the WORKFLOWS_IMAGE_CACHE_STORAGE_BACKEND will ' 'start deleting the oldest workflow image cache files. Specify the ' 'size in bytes.' ), post_edit_function=callback_update_workflow_image_cache_size