diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-06-05 12:14:47 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-06-05 12:14:47 +0000 |
commit | ea8ea3c610582c8d564c5be38bc91b1987410a6b (patch) | |
tree | c09b9970fd7320f74fd4d1815692369dded39bab /upgrades/2010073101.php | |
parent | a1c32cf049031a463b1d7bb49a5c2957924d83a5 (diff) | |
download | elgg-ea8ea3c610582c8d564c5be38bc91b1987410a6b.tar.gz elgg-ea8ea3c610582c8d564c5be38bc91b1987410a6b.tar.bz2 |
merged in r580 and r581 into trunk
Diffstat (limited to 'upgrades/2010073101.php')
-rw-r--r-- | upgrades/2010073101.php | 7 |
1 files changed, 6 insertions, 1 deletions
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; |