From e80bb29671b7887d5749a9eb147be38e6f0401f4 Mon Sep 17 00:00:00 2001 From: Steve Clay Date: Mon, 9 Apr 2012 15:07:15 -0400 Subject: Removed deprecated call, unused variable --- lib/videolist.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/videolist.php b/lib/videolist.php index 96a2c6335..ae2441847 100644 --- a/lib/videolist.php +++ b/lib/videolist.php @@ -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 { -- cgit v1.2.3