From 64fceb3bca037650e80e6b7bf3dab1d323fc4abb Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 6 Sep 2008 22:56:04 +0000 Subject: Update: Centralized Central in phpBB3 Also removed subscription.php due to the new subscription specification (#28) Refs #52 and #28 --- update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php') diff --git a/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php b/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php index cfbe5d5..f7af802 100644 --- a/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php +++ b/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php @@ -65,11 +65,9 @@ function sendItem($title, $userID, $url, $fourm) mcrypt_module_close($td); } - $client = new xmlrpc_client($config['id_central_server']); - $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($config['id_username'], 'string'), - new xmlrpcval(md5($config['id_username'] . ':' . md5($config['id_password']) . ':' . $verID), 'string'), - new xmlrpcval($verID, 'int'), - new xmlrpcval(generate_board_url() . '/', 'string'), + $client = new xmlrpc_client('http://central.fourisland.com/xmlrpc.php'); + $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($config['id_series_url'], 'string'), + new xmlrpcval($config['id_subscription_id'], 'string'), new xmlrpcval($title, 'string'), new xmlrpcval($author, 'string'), new xmlrpcval($url, 'string'), -- cgit 1.4.1