mirror of
https://github.com/moodle/moodle.git
synced 2025-05-01 22:18:03 +02:00
MDL-79480 repository_wikimedia: drop deprecated image size parameter.
This commit is contained in:
parent
c6e727732a
commit
c16587f52f
@ -233,7 +233,7 @@ class wikimedia {
|
||||
}
|
||||
$files_array[] = array(
|
||||
'title'=>substr($title, 5), //chop off 'File:'
|
||||
'thumbnail' => $OUTPUT->image_url(file_extension_icon(substr($title, 5), WIKIMEDIA_THUMB_SIZE))->out(false),
|
||||
'thumbnail' => $OUTPUT->image_url(file_extension_icon(substr($title, 5)))->out(false),
|
||||
'thumbnail_width' => WIKIMEDIA_THUMB_SIZE,
|
||||
'thumbnail_height' => WIKIMEDIA_THUMB_SIZE,
|
||||
'license' => 'cc-sa',
|
||||
|
Loading…
x
Reference in New Issue
Block a user