mirror of
https://github.com/moodle/moodle.git
synced 2025-03-07 01:10:02 +01:00
fullname() relies on its second parameter to determine wheter it should use fullnamedisplay or alternativefullnameformat. We need to check for moodle/site:viewfullnames capability and pass true as the second parameter to fullname() whereever the user has this capability.