diff options
author | diosmosis <benaka@piwik.pro> | 2015-08-21 03:31:05 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-08-21 03:31:05 +0300 |
commit | 7dc49ccb9767b601f01c1fe0d1a5fdb3476c3d69 (patch) | |
tree | cbebcb251df05fb4d534074e7426e75c91f33a0e /config | |
parent | 32542af56d59abdefe008bafc6561f357a9ccfb0 (diff) |
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.
Diffstat (limited to 'config')
-rw-r--r-- | config/global.ini.php | 2 |
1 files changed, 2 insertions, 0 deletions
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" |