mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-18763 Fixed up typo in comments of new pic size
This commit is contained in:
parent
a2aba3f612
commit
c67b08828c
1 changed files with 1 additions and 1 deletions
|
@ -3628,7 +3628,7 @@ function file_pluginfile($relativepath, $forcedownload, $preview = null) {
|
|||
if (!$file = $fs->get_file($context->id, 'user', 'icon', 0, '/', $filename.'.png')) {
|
||||
if (!$file = $fs->get_file($context->id, 'user', 'icon', 0, '/', $filename.'.jpg')) {
|
||||
if ($filename === 'f3') {
|
||||
// f3 400x400px was introduced in 2.3, there might be only the smaller version.
|
||||
// f3 512x512px was introduced in 2.3, there might be only the smaller version.
|
||||
if (!$file = $fs->get_file($context->id, 'user', 'icon', 0, '/', 'f1.png')) {
|
||||
$file = $fs->get_file($context->id, 'user', 'icon', 0, '/', 'f1.jpg');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue