]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Removed deprecated call, unused variable
authorSteve Clay <steve@mrclay.org>
Mon, 9 Apr 2012 19:07:15 +0000 (15:07 -0400)
committerSteve Clay <steve@mrclay.org>
Mon, 9 Apr 2012 19:07:15 +0000 (15:07 -0400)
lib/videolist.php
start.php

index 96a2c6335026919cf211993e0e2627e0e438c092..ae244184725c82ac51c182c626d8812809f95cf6 100644 (file)
@@ -27,8 +27,7 @@ function videolist_parseurl($url){
  */
 function videolist_get_data($parsed) {
        $videotype = $parsed['videotype'];
-       $video_id = $parsed['video_id'];
-       
+
        if(is_callable("videolist_get_data_$videotype")){
                return array_merge($parsed, call_user_func("videolist_get_data_$videotype", $parsed));
        } else {
index d764a78c9f826faf76b4c9db3250ab945604c10a..bfb1796b97aacaa7c1c0c45ee44ec5cdcc052012 100644 (file)
--- a/start.php
+++ b/start.php
@@ -238,7 +238,7 @@ function videolist_embed_get_sections($hook, $type, $value, $params) {
  */
 function videolist_embed_get_items($hook, $type, $value, $params) {
        $options = array(
-               'owner_guid' => get_loggedin_userid(),
+               'owner_guid' => elgg_get_logged_in_user_guid(),
                'type_subtype_pair' => array('object' => 'videolist_item'),
                'count' => TRUE
        );