From 7dc49ccb9767b601f01c1fe0d1a5fdb3476c3d69 Mon Sep 17 00:00:00 2001 From: diosmosis Date: Thu, 20 Aug 2015 17:31:05 -0700 Subject: Add new option for [General] process_new_segments_from option, 'segment_last_edit_time'. New option sets beginning of segments archiving from last edit time (or created time if it is found). Includes tests. --- config/global.ini.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') diff --git a/config/global.ini.php b/config/global.ini.php index 71d3345436..bd6383ce6e 100644 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -225,6 +225,8 @@ allow_adding_segments_for_all_websites = 1 ; When archiving segments for the first time, this determines the oldest date that will be archived. ; This option can be used to avoid archiving (for isntance) the lastN years for every new segment. ; Valid option values include: "beginning_of_time" (start date of archiving will not be changed) +; "segment_last_edit_time" (start date of archiving will be the earliest last edit date found, +; if none is found, the created date is used) ; "segment_creation_time" (start date of archiving will be the creation date of the segment) ; lastN where N is an integer (eg "last10" to archive for 10 days before the segment creation date) process_new_segments_from = "beginning_of_time" -- cgit v1.2.3