]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
remove uneeded check.
authorPablo Martin <caedes@sindominio.net>
Sat, 6 Oct 2012 17:42:30 +0000 (19:42 +0200)
committerroot <root@delvj.org>
Sat, 6 Oct 2012 17:42:36 +0000 (19:42 +0200)
upgrades/2012022501.php

index 576aaba7d50f4f55bb7fe39129882eea794d4702..70f4398c42b271d72ef91566d88c1fb619b120f3 100644 (file)
@@ -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
  *