we made a small plugin which limits access to certain courses upon certain criteria.
We already got the necessary error message, but it contains a link to moodle docs, even debug mode is off.
"More information about this error" -> links to https://docs.moodle.org/39/en/error/local_maxcourses/toomanypoints
How can we suppress this link or use an own target URL?
We already tried those calls, all with the same result:
print_error('toomanypoints', 'local_maxcourses', '', $points);
print_error('toomanypoints', 'local_maxcourses', false, $points);
print_error('toomanypoints', 'local_maxcourses', '/infos-about-point-system', $points);
Any help is appreciated.
Thanks,
Alex