From db58ab7e51e539ec3172762d5c781338d58ad4b8 Mon Sep 17 00:00:00 2001 From: Dave Tosh Date: Wed, 2 Jun 2010 12:25:27 +0000 Subject: replaced deprecated function calls git-svn-id: http://code.elgg.org@6321 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/staticvideo/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/default/staticvideo') diff --git a/views/default/staticvideo/index.php b/views/default/staticvideo/index.php index d8619917e..e5f6d8fad 100644 --- a/views/default/staticvideo/index.php +++ b/views/default/staticvideo/index.php @@ -12,7 +12,8 @@ $owner = $_SESSION['guid']; $number = 10; -$owner_videos = get_entities("object", "videolist", $_SESSION['guid'], $number); +$owner_videos = elgg_get_entities(array('types' => 'object', 'subtypes' => 'videolist', 'owner_guids' => $_SESSION['guid'])); +//get_entities("object", "videolist", $_SESSION['guid'], $number); $videodiv = ''; $width = "390"; $height = "275"; -- cgit v1.2.3