aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Martin <caedes@sindominio.net>2012-10-06 19:42:30 +0200
committerroot <root@delvj.org>2012-10-06 19:42:36 +0200
commit34c2063a5e35817a2cb8a91ec7edd2a12fd0a57e (patch)
tree05b1c939e7b2120c7db75887a1b07b6052adad5e
parentd88344c667c996d9d25f5a1393321c675ce8f2f9 (diff)
downloadelgg-34c2063a5e35817a2cb8a91ec7edd2a12fd0a57e.tar.gz
elgg-34c2063a5e35817a2cb8a91ec7edd2a12fd0a57e.tar.bz2
remove uneeded check.
-rw-r--r--upgrades/2012022501.php8
1 files changed, 0 insertions, 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
*