From 113f7d04a7fb8cb3afc87f48e0f265ae93461db5 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 12 Jun 2015 17:10:40 +0200 Subject: [PATCH] These lines didn't do anything that the following line didn't just overwrite --- QvitterPlugin.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/QvitterPlugin.php b/QvitterPlugin.php index b1dd85e..c2806f3 100644 --- a/QvitterPlugin.php +++ b/QvitterPlugin.php @@ -432,9 +432,6 @@ class QvitterPlugin extends Plugin { $thumb = File_thumbnail::getKV('file_id', $attachment->id); if ($thumb instanceof File_thumbnail) { $attachment_url_to_id[$enclosure_o->url]['id'] = $attachment->id; - if($attachment->width > 1000) { - $attachment_url_to_id[$enclosure_o->url]['thumb_url'] = $thumb->getUrl(); - } $attachment_url_to_id[$enclosure_o->url]['thumb_url'] = $thumb->getUrl(); $attachment_url_to_id[$enclosure_o->url]['width'] = $attachment->width; $attachment_url_to_id[$enclosure_o->url]['height'] = $attachment->height;