summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-07-05 15:02:04 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-07-05 15:02:04 +0000
commit17ab54d284c6d82f96a5543fa5b5f8ee65e20307 (patch)
treeddee86b055667bed94e73dad8f105101415fa217 /lib
parent224f007c59eab093bea69eb227faa64104ed4e15 (diff)
downloadampache-17ab54d284c6d82f96a5543fa5b5f8ee65e20307.tar.gz
ampache-17ab54d284c6d82f96a5543fa5b5f8ee65e20307.tar.bz2
ampache-17ab54d284c6d82f96a5543fa5b5f8ee65e20307.zip
updated xmlrpc library
Diffstat (limited to 'lib')
-rw-r--r--lib/class/catalog.class.php4
-rw-r--r--lib/xmlrpc.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php
index 9affc95a..b8907d0a 100644
--- a/lib/class/catalog.class.php
+++ b/lib/class/catalog.class.php
@@ -921,7 +921,7 @@ class Catalog {
$value = $response->value();
if ( !$response->faultCode() ) {
- $data = old_xmlrpc_decode($value);
+ $data = php_xmlrpc_decode($value);
// Print out the catalogs we are going to sync
//FIXME: We should add catalog level access control
@@ -942,7 +942,7 @@ class Catalog {
$value = $response->value();
if ( !$response->faultCode() ) {
- $data = old_xmlrpc_decode($value);
+ $data = php_xmlrpc_decode($value);
$this->update_remote_catalog($data,$this->path);
}
else {
diff --git a/lib/xmlrpc.php b/lib/xmlrpc.php
index 7b810dd6..bcaeeb7d 100644
--- a/lib/xmlrpc.php
+++ b/lib/xmlrpc.php
@@ -103,7 +103,7 @@ function remote_song_query() {
} // while songs
set_time_limit(0);
- $encoded_array = old_xmlrpc_encode($results);
+ $encoded_array = php_xmlrpc_encode($results);
return new xmlrpcresp($encoded_array);
} // remote_song_query
@@ -119,7 +119,7 @@ function remote_server_denied() {
$result['access_denied'] = "Access Denied: Sorry, but " . $_SERVER['REMOTE_ADDR'] . " does not have access to " .
"this server's catalog. Please make sure that you have been added to this server's access list.\n";
- $encoded_array = old_xmlrpc_encode($result);
+ $encoded_array = php_xmlrpc_encode($result);
return new xmlrpcresp($encoded_array);
} // remote_server_deniee