From 17ab54d284c6d82f96a5543fa5b5f8ee65e20307 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Tue, 5 Jul 2005 15:02:04 +0000 Subject: updated xmlrpc library --- lib/class/catalog.class.php | 4 ++-- lib/xmlrpc.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') 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 -- cgit