diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-18 22:04:47 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-18 22:04:47 +0000 |
commit | c0151ba7bae99a1c389e2d8b309ebe53b368da1d (patch) | |
tree | 50286a11db8d113cefac05c0820ee8650d5df8ea /central/trunk/includes | |
parent | fd3f2cbdaa1e3c160727c3cf09ef03d06174c114 (diff) | |
download | instadisc-c0151ba7bae99a1c389e2d8b309ebe53b368da1d.tar.gz instadisc-c0151ba7bae99a1c389e2d8b309ebe53b368da1d.tar.bz2 instadisc-c0151ba7bae99a1c389e2d8b309ebe53b368da1d.zip |
Central: Removed Series-related code
Refs #57
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 | ?> |