aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/input.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-17 23:14:33 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-17 23:14:33 +0000
commitba94a48ff66a001dd20c5ac2da34681880583945 (patch)
tree29b0ebfcd19ba03c69cd8ad7e4171c0002b3d207 /engine/lib/input.php
parentb3012350e2d8dafaf696e2c472f8cf0ae5e1674b (diff)
downloadelgg-ba94a48ff66a001dd20c5ac2da34681880583945.tar.gz
elgg-ba94a48ff66a001dd20c5ac2da34681880583945.tar.bz2
Fixes #1488: Removed use of deprecated functions in core.
git-svn-id: http://code.elgg.org/elgg/trunk@3947 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/input.php')
-rw-r--r--engine/lib/input.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/engine/lib/input.php b/engine/lib/input.php
index 89bab5853..d6f044c90 100644
--- a/engine/lib/input.php
+++ b/engine/lib/input.php
@@ -247,7 +247,7 @@ function input_livesearch_page_handler($page) {
case 'all':
// only need to pull up title from objects.
- if (!$entities = get_entities(null, null, $owner_guid, null, $limit) AND is_array($entities)) {
+ if (!$entities = elgg_get_entities(array('owner_guid' => $owner_guid, 'limit' => $limit)) AND is_array($entities)) {
$results = array_merge($results, $entities);
}
break;
@@ -331,7 +331,9 @@ function input_livesearch_page_handler($page) {
default:
// arbitrary subtype.
- get_entities(null, $type, $owner_guid);
+ //@todo you cannot specify a subtype without a type.
+ // did this ever work?
+ elgg_get_entities(array('subtype' => $type, 'owner_guid' => $owner_guid));
break;
}
}