Skip to content

Commit 1cc3754

Browse files
authored
Increase undo expiry date (see contao#2528)
Description ----------- | Q | A | -----------------| --- | Fixed issues | - | Docs PR or issue | - I really think the default undo period of 24h is not a good default (which is why I think it should be changed in 4.9 LTS too). For me, there are two use cases our current undo system can cover: 1. The immediate "Oh, I deleted something which I shouldn't have" case: 24 hours are enough 2. The customer did something over the weekend and you get a report on Monday that something was deleted: 24 hours are likely not enough. So 30 days by default seem totally okay to me. It makes no sense to store undo entries that date back a year or so. Commits ------- 7d7f01e Increase undo expiry date
1 parent 55d85f3 commit 1cc3754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-bundle/src/Resources/contao/config/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
$GLOBALS['TL_CONFIG']['gdMaxImgHeight'] = 3000;
7070

7171
// Timeout values
72-
$GLOBALS['TL_CONFIG']['undoPeriod'] = 86400;
72+
$GLOBALS['TL_CONFIG']['undoPeriod'] = 2592000;
7373
$GLOBALS['TL_CONFIG']['versionPeriod'] = 7776000;
7474
$GLOBALS['TL_CONFIG']['logPeriod'] = 604800;
7575
$GLOBALS['TL_CONFIG']['sessionTimeout'] = 3600;

0 commit comments

Comments
 (0)