diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-28 18:15:37 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-28 18:15:37 +0000 |
commit | beadb3b30bd8ed69dcf2075ab7c41d80c0100303 (patch) | |
tree | f44767d7800f350f84968df0abb7f55505291a80 /engine/lib/entities.php | |
parent | 45bafce6501665c0991cdc91685cf2afb153b81d (diff) | |
download | elgg-beadb3b30bd8ed69dcf2075ab7c41d80c0100303.tar.gz elgg-beadb3b30bd8ed69dcf2075ab7c41d80c0100303.tar.bz2 |
Deprecated get_entities_from_metadata() and get_entities_from_metadata_multi().
git-svn-id: http://code.elgg.org/elgg/trunk@3592 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r-- | engine/lib/entities.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 9c0537709..3c2adc5ed 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1751,6 +1751,7 @@ function elgg_get_entities(array $options = array()) { $query .= " LIMIT $offset, $limit"; } $dt = get_data($query, "entity_row_to_elggstar"); + //@todo normalize this to array() return $dt; } else { @@ -1777,7 +1778,7 @@ function elgg_get_entities(array $options = array()) { function get_entities($type = "", $subtype = "", $owner_guid = 0, $order_by = "", $limit = 10, $offset = 0, $count = false, $site_guid = 0, $container_guid = null, $timelower = 0, $timeupper = 0) { - elgg_log('get_entities() is deprecated in 1.7 by elgg_get_entities()!', 'WARNING'); + elgg_log('get_entities() was deprecated in 1.7 by elgg_get_entities()!', 'WARNING'); // rewrite owner_guid to container_guid to emulate old functionality $container_guid = $owner_guid; $owner_guid = NULL; @@ -2137,7 +2138,7 @@ function elgg_list_entities($options) { * @return unknown_type */ function list_entities($type= "", $subtype = "", $owner_guid = 0, $limit = 10, $fullview = true, $viewtypetoggle = false, $pagination = true) { - elgg_log('list_entities() deprecated in 1.7. Use elgg_list_entities()!', 'WARNING'); + elgg_log('list_entities() was deprecated in 1.7. Use elgg_list_entities()!', 'WARNING'); $options = array(); @@ -2452,7 +2453,7 @@ function delete_entity($guid, $recursive = true) { * @param int $owner_guid The GUID of the owning user */ function delete_entities($type = "", $subtype = "", $owner_guid = 0) { - elgg_log('delete_entities() is deprecated in 1.7 because no one should use it.'); + elgg_log('delete_entities() was deprecated in 1.7 because no one should use it.'); return false; } @@ -2974,7 +2975,7 @@ function entities_page_handler($page) { * @return unknown_type */ function list_registered_entities($owner_guid = 0, $limit = 10, $fullview = true, $viewtypetoggle = false, $allowedtypes = true) { - elgg_log('list_registered_entities() deprecated in 1.7 by elgg_list_registered_entities().', 'WARNING'); + elgg_log('list_registered_entities() was deprecated in 1.7 by elgg_list_registered_entities().', 'WARNING'); $options = array(); |