about summary refs log tree commit diff stats
path: root/central/trunk/includes/instadisc.php
diff options
context:
space:
mode:
Diffstat (limited to 'central/trunk/includes/instadisc.php')
-rw-r--r--central/trunk/includes/instadisc.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/central/trunk/includes/instadisc.php b/central/trunk/includes/instadisc.php index 438fcfb..003ad1b 100644 --- a/central/trunk/includes/instadisc.php +++ b/central/trunk/includes/instadisc.php
@@ -237,19 +237,4 @@ function instaDisc_changePassword($username, $password)
237 $setpass2 = mysql_query($setpass); 237 $setpass2 = mysql_query($setpass);
238} 238}
239 239
240function instaDisc_resolveSubscription($seriesURL, $id)
241{
242 $client = new xmlrpc_client($seriesURL);
243 $msg = new xmlrpcmsg('InstaDisc.subscriptionInfo', array( new xmlrpcval($id, 'string')));
244 $resp = $client->send($msg);
245 $val = $resp->value()->scalarVal();
246
247 if ($val == 'false')
248 {
249 return 'false';
250 } else {
251 return unserialize($val);
252 }
253}
254
255?> 240?>