From 55211a8d6622e9fbff30fe1660ac4dd66e0e78d9 Mon Sep 17 00:00:00 2001 From: David Monllao Date: Mon, 23 Mar 2015 15:16:18 +0800 Subject: [PATCH] MDL-48456 course: Using default max int value --- lib/coursecatlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/coursecatlib.php b/lib/coursecatlib.php index 7b334f0840d..f3f7fbef270 100644 --- a/lib/coursecatlib.php +++ b/lib/coursecatlib.php @@ -1563,7 +1563,7 @@ class coursecat implements renderable, cacheable_object, IteratorAggregate { require_once($CFG->dirroot.'/cohort/lib.php'); // Make sure we won't timeout when deleting a lot of courses. - $settimeout = core_php_time_limit::raise('0'); + $settimeout = core_php_time_limit::raise(); $deletedcourses = array();