summaryrefslogtreecommitdiffstats
path: root/lib/class/xmlrpcserver.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-26 08:28:09 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-26 08:28:09 +0000
commit97bcd214044e30b5078052ee0c523b63966d6833 (patch)
tree3710825f857adcb0d1926c9063bbc11adb678dc4 /lib/class/xmlrpcserver.class.php
parent13ae6a0371ae26023880a0ad69b3b1587db8dd76 (diff)
downloadampache-97bcd214044e30b5078052ee0c523b63966d6833.tar.gz
ampache-97bcd214044e30b5078052ee0c523b63966d6833.tar.bz2
ampache-97bcd214044e30b5078052ee0c523b63966d6833.zip
added direct links back in, added batch download to single artist view, removed useless cruft
Diffstat (limited to 'lib/class/xmlrpcserver.class.php')
-rw-r--r--lib/class/xmlrpcserver.class.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/class/xmlrpcserver.class.php b/lib/class/xmlrpcserver.class.php
index fc903aaf..3801dc09 100644
--- a/lib/class/xmlrpcserver.class.php
+++ b/lib/class/xmlrpcserver.class.php
@@ -141,10 +141,7 @@ class xmlRpcServer {
return new xmlrpcresp(0,'503','Key/IP Mis-match Access Denied');
}
- $stream = new Stream();
- $stream->user_id = '-1';
-
- if (!$stream->insert_session($key)) {
+ if (!Stream::insert_session($key,'-1')) {
debug_event('XMLSERVER','Failed to create stream session','1');
return new xmlrpcresp(0,'503','Failed to Create Stream Session','1');
}