From ea8ea3c610582c8d564c5be38bc91b1987410a6b Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 5 Jun 2011 12:14:47 +0000 Subject: merged in r580 and r581 into trunk --- upgrades/2010073101.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'upgrades') diff --git a/upgrades/2010073101.php b/upgrades/2010073101.php index 20fd33144..587490500 100644 --- a/upgrades/2010073101.php +++ b/upgrades/2010073101.php @@ -11,7 +11,12 @@ while ($guid_obj = mysql_fetch_object($album_guids)) { $DB_QUERY_CACHE = $DB_PROFILE = $ENTITY_CACHE = array(); $album = get_entity($guid_obj->guid); - $images = get_entities("object", "image", $album->guid, '', 9999); + $images = elgg_get_entities(array( + "type" => "object", + "subtype" => "image", + "container_guid" => $album->guid, + "limit" => ELGG_ENTITIES_NO_VALUE, + )); $image_list = array(); foreach ($images as $image) { $image_list[] = $image->guid; -- cgit v1.2.3