File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 14
14
// You should have received a copy of the GNU General Public License
15
15
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16
16
17
- /**
18
- * Any element analysers can analyse.
19
- *
20
- * @package core_analytics
21
- * @copyright 2016 David Monllao {@link http://www.davidmonllao.com}
22
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
23
- */
24
-
25
17
namespace core_analytics ;
26
18
27
- defined ('MOODLE_INTERNAL ' ) || die ();
28
-
29
19
/**
30
20
* Any element analysers can analyse.
31
21
*
@@ -37,9 +27,8 @@ interface analysable {
37
27
38
28
/**
39
29
* Max timestamp.
40
- * We are limited by both PHP's max int value and DB (cross-db) max int allowed. Use the smallest one.
41
30
*/
42
- const MAX_TIME = PHP_INT_MAX < SQL_INT_MAX ? PHP_INT_MAX : SQL_INT_MAX ;
31
+ const MAX_TIME = SQL_INT_MAX ;
43
32
44
33
/**
45
34
* The analysable unique identifier in the site.
You can’t perform that action at this time.
0 commit comments