From: Pablo Martin Date: Sat, 6 Oct 2012 17:42:30 +0000 (+0200) Subject: remove uneeded check. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=34c2063a5e35817a2cb8a91ec7edd2a12fd0a57e;p=lorea%2Felgg.git remove uneeded check. --- 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 *