Problem upgrading from 2.8 to 3.0.2+

Re: Problem upgrading from 2.8 to 3.0.2+

by Agustin Lopez -
Number of replies: 0

Ok. we have found the problem.

This is reported in:

https://tracker.moodle.org/browse/MDL-51833?jql=text%20~%20%22tool_monitor_get_user_courses%22

and appears in 2.9.x with

    function tool_monitor_get_user_courses() {
in file

    admin/tool/monitor/lib.php

with many courses loaded.

I am waiting for one solution. At this moment, we are changed like a workaround:

if ($courses = get_user_capability_course('tool/monitor:subscribe', null, true, 'fullname', $orderby)) {

for

if ($courses = get_user_capability_course('tool/monitor:subscribe', null, false, 'fullname', $orderby)) {

Regards,

Agustin