diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-01 20:05:52 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-03-01 20:05:52 -0800 |
commit | d7e24b24945a909f2bf2825200234db622a8e9fb (patch) | |
tree | fc1c7dae1b09d4a1fa5696263a0977e770ded84e | |
parent | 1ca0b85196d4cf295abfd3895da34768048aa0b2 (diff) | |
download | volse-hubzilla-d7e24b24945a909f2bf2825200234db622a8e9fb.tar.gz volse-hubzilla-d7e24b24945a909f2bf2825200234db622a8e9fb.tar.bz2 volse-hubzilla-d7e24b24945a909f2bf2825200234db622a8e9fb.zip |
make system.expire_delivery_reports default setting consistent (10 days)
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 07b782309..799a606d6 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -276,7 +276,7 @@ class ThreadItem { $keep_reports = intval(get_config('system','expire_delivery_reports')); if($keep_reports === 0) - $keep_reports = 30; + $keep_reports = 10; if((! get_config('system','disable_dreport')) && strcmp(datetime_convert('UTC','UTC',$item['created']),datetime_convert('UTC','UTC',"now - $keep_reports days")) > 0) $dreport = t('Delivery Report'); |