diff options
Diffstat (limited to 'central/trunk/includes')
-rw-r--r-- | central/trunk/includes/instadisc.php | 15 |
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 | ||
240 | function 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 | ?> |