mirror of
https://github.com/moodle/moodle.git
synced 2025-03-31 14:02:46 +02: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.