Commit f1d498a6 authored by David Monllaó's avatar David Monllaó
Browse files

MDL-48456 course: Using default max int value

parent ae9ed08f
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment