mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Merge branch 'MDL-50798-master' of git://github.com/merrill-oakland/moodle
This commit is contained in:
commit
218936aecc
1 changed files with 5 additions and 0 deletions
|
@ -664,6 +664,11 @@ class view {
|
|||
$showquestiontext = false, $addcontexts = array()) {
|
||||
global $CFG, $DB, $OUTPUT;
|
||||
|
||||
// This function can be moderately slow with large question counts and may time out.
|
||||
// We probably do not want to raise it to unlimited, so randomly picking 5 minutes.
|
||||
// Note: We do not call this in the loop because quiz ob_ captures this function (see raise() PHP doc).
|
||||
\core_php_time_limit::raise(300);
|
||||
|
||||
$category = $this->get_current_category($categoryandcontext);
|
||||
|
||||
$strselectall = get_string('selectall');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue