aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-02 12:25:27 +0000
committerDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-02 12:25:27 +0000
commitdb58ab7e51e539ec3172762d5c781338d58ad4b8 (patch)
treeaa7bf8756430b302d438c3d8aff40fe0295c75d6 /views
parentbc0819d6175633465d111557b7ff9ecded7ea9d0 (diff)
downloadelgg-db58ab7e51e539ec3172762d5c781338d58ad4b8.tar.gz
elgg-db58ab7e51e539ec3172762d5c781338d58ad4b8.tar.bz2
replaced deprecated function calls
git-svn-id: http://code.elgg.org@6321 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/staticvideo/index.php3
-rw-r--r--views/rss/videolist/videolist.php2
2 files changed, 3 insertions, 2 deletions
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";
diff --git a/views/rss/videolist/videolist.php b/views/rss/videolist/videolist.php
index 86ea686ba..7745b070b 100644
--- a/views/rss/videolist/videolist.php
+++ b/views/rss/videolist/videolist.php
@@ -9,7 +9,7 @@
* @copyright Prateek Choudhary
*/
- if ($foreach = get_entities('object','',$vars['entity']->guid)) {
+ if ($foreach = elgg_get_entities(array('types' => 'object', 'subtypes' => 'videolist'))) {
foreach($foreach as $videos)
echo elgg_view_entity($videos);
}