make system.expire_delivery_reports default setting consistent (10 days)
This commit is contained in:
parent
1ca0b85196
commit
d7e24b2494
@ -276,7 +276,7 @@ class ThreadItem {
|
|||||||
|
|
||||||
$keep_reports = intval(get_config('system','expire_delivery_reports'));
|
$keep_reports = intval(get_config('system','expire_delivery_reports'));
|
||||||
if($keep_reports === 0)
|
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)
|
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');
|
$dreport = t('Delivery Report');
|
||||||
|
Reference in New Issue
Block a user