Merge branch 'MDL-72359-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE

This commit is contained in:
Sara Arjona 2023-08-29 16:16:02 +02:00
commit 8083d74fe2
No known key found for this signature in database

View File

@ -37,8 +37,9 @@ interface analysable {
/**
* Max timestamp.
* We are limited by both PHP's max int value and DB (cross-db) max int allowed. Use the smallest one.
*/
const MAX_TIME = PHP_INT_MAX;
const MAX_TIME = PHP_INT_MAX < 9999999999 ? PHP_MAX_INT : 9999999999;
/**
* The analysable unique identifier in the site.