summaryrefslogtreecommitdiffstats
path: root/lib/xmlrpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xmlrpc.php')
-rw-r--r--lib/xmlrpc.php4
1 files changed, 2 insertions, 2 deletions
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