MDL-79480 repository_wikimedia: drop deprecated image size parameter.

This commit is contained in:
Paul Holden 2023-09-24 15:50:16 +01:00
parent c6e727732a
commit c16587f52f
No known key found for this signature in database
GPG Key ID: A81A96D6045F6164

View File

@ -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',