diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2012-09-20 11:17:35 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-09-20 11:22:48 -0400 |
commit | afd69ce3340864075982d0d9b8acb442b0f6ffe1 (patch) | |
tree | 17e9ec16e347912f2e2ccc1209f40430fde08a99 /lib/class/api.class.php | |
parent | bba378c39b0f301a5c85b0baa115a541bb0274c3 (diff) | |
download | ampache-afd69ce3340864075982d0d9b8acb442b0f6ffe1.tar.gz ampache-afd69ce3340864075982d0d9b8acb442b0f6ffe1.tar.bz2 ampache-afd69ce3340864075982d0d9b8acb442b0f6ffe1.zip |
Cosmetics: api::url_to_song
Diffstat (limited to 'lib/class/api.class.php')
-rw-r--r-- | lib/class/api.class.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/class/api.class.php b/lib/class/api.class.php index ff7e2cb3..b204ad7b 100644 --- a/lib/class/api.class.php +++ b/lib/class/api.class.php @@ -514,10 +514,8 @@ class Api { */ public static function url_to_song($input) { - // Don't scrub in we need to give her raw and juicy to the function - $url = $input['url']; - - $song_id = Song::parse_song_url($url); + // Don't scrub, the function needs her raw and juicy + $song_id = Song::parse_song_url($input['url']); ob_end_clean(); echo xmlData::songs(array($song_id)); |