MDL-59638 analytics: Prevent start time to be higher than end time
authorDavid Monllao <david.monllao@gmail.com>
Tue, 8 Aug 2017 12:38:11 +0000 (14:38 +0200)
committerDavid Monllao <david.monllao@gmail.com>
Tue, 8 Aug 2017 12:38:11 +0000 (14:38 +0200)
commit42d67f95cd3d9b4669850c6c38edc92fae99bcae
treeaa11dd9d2a646ad52ad2314b95586463eae780f9
parent455974b3957be8f79d1ca079e5723ccfeedc596f
MDL-59638 analytics: Prevent start time to be higher than end time

Other related changes:

- core_analytics\site get_start and get_end returning always integer values
- Defer intval call in define_ranges to refine some seconds
analytics/classes/local/time_splitting/accumulative_parts.php
analytics/classes/local/time_splitting/equal_parts.php
analytics/classes/site.php