From 34c2063a5e35817a2cb8a91ec7edd2a12fd0a57e Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Sat, 6 Oct 2012 19:42:30 +0200 Subject: remove uneeded check. --- upgrades/2012022501.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/upgrades/2012022501.php b/upgrades/2012022501.php index 576aaba7d..70f4398c4 100644 --- a/upgrades/2012022501.php +++ b/upgrades/2012022501.php @@ -17,14 +17,6 @@ if (!$items) { return; } -// if all five of the items have empty thumbnails, we need to upgrade -foreach ($items as $item) { - if ($item->thumbnail === true) { - return; - } -} - - /** * Downloads the thumbnail and saves into data folder * -- cgit v1.2.3