From aa169c57725ebf148e9b98af5117a2e0a067eb1b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 19 Sep 2008 20:25:09 +0000 Subject: Update: Removed Series-related code Refs #56 --- update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php | 9 +++------ update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php | 3 +-- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'update/plugin/phpBB3/trunk/root/includes') diff --git a/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php b/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php index b7fc583..f93ece6 100644 --- a/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php +++ b/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php @@ -31,21 +31,18 @@ class acp_instadisc { // Add config to the database set_config('id_subscription_title', $_POST['subscription_title']); - set_config('id_series_url', $_POST['series_url']); - set_config('id_subscription_id', $_POST['subscription_id']); + set_config('id_subscription_url', $_POST['subscription_url']); set_config('id_encryption_key', $_POST['encryption_key']); trigger_error($user->lang['ID_CHANGES_SAVED'] . adm_back_link($this->u_action), E_USER_NOTICE); } else { $idst = isset($config['id_subscription_title']) ? $config['id_subscription_title'] : $config['sitename']; - $idsu = isset($config['id_series_url']) ? $config['id_series_url'] : ''; - $idsi = isset($config['id_subscription_id']) ? $config['id_subscription_id'] : ''; + $idsu = isset($config['id_subscription_url']) ? $config['id_subscription_url'] : ''; $idec = isset($config['id_encryption_key']) ? $config['id_encryption_key'] : ''; $template->assign_vars(array( 'S_SUBSCRIPTION_TITLE' => $idst, - 'S_SERIES_URL' => $idsu, - 'S_SUBSCRIPTION_ID' => $idsi, + 'S_SUBSCRIPTION_URL' => $idsu, 'S_ENCRYPTION_KEY' => $idec, 'S_SUBMIT' => $this->u_action )); diff --git a/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php b/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php index f7af802..738cab9 100644 --- a/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php +++ b/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php @@ -66,8 +66,7 @@ function sendItem($title, $userID, $url, $fourm) } $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'), + $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($config['id_subscription_url'], 'string'), new xmlrpcval($title, 'string'), new xmlrpcval($author, 'string'), new xmlrpcval($url, 'string'), -- cgit 1.4.1