Commit 33bbee91 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Use site name for the owner of site files in artefact chooser

parent 54b22a19
......@@ -626,7 +626,7 @@ JAVASCRIPT;
}
else if ($artefact->institution) {
if ($artefact->institution == 'mahara') {
$folderdata[$ownerkey]->ownername = get_string('Site') . ':';
$folderdata[$ownerkey]->ownername = get_config('sitename') . ':';
}
else {
$folderdata[$ownerkey]->ownername = get_field('institution', 'displayname', 'name', $artefact->institution) . ':';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment