MDL-64695 privacy: filter site fullname in data export.

This commit is contained in:
Paul Holden 2019-12-04 00:50:28 +00:00
parent 6aacd8d6d1
commit 07dc0cad34

View File

@ -665,7 +665,7 @@ class moodle_content_writer implements content_writer {
$navigationpage = new \core_privacy\output\exported_navigation_page(current($richtree));
$navigationhtml = $output->render_navigation($navigationpage);
$systemname = $SITE->fullname;
$systemname = format_string($SITE->fullname, true, ['context' => \context_system::instance()]);
$fullusername = fullname($USER);
$siteurl = $CFG->wwwroot;