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/xmlrpc.php | |
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/xmlrpc.php')
-rw-r--r-- | central/trunk/xmlrpc.php | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/central/trunk/xmlrpc.php b/central/trunk/xmlrpc.php index f8f5beb..0254e66 100644 --- a/central/trunk/xmlrpc.php +++ b/central/trunk/xmlrpc.php | |||
@@ -75,26 +75,18 @@ function requestRetained($username, $verification, $verificationID) | |||
75 | return new xmlrpcresp(new xmlrpcval(1, "int")); | 75 | return new xmlrpcresp(new xmlrpcval(1, "int")); |
76 | } | 76 | } |
77 | 77 | ||
78 | function sendFromUpdate($subscriptionSeriesURL, $subscriptionID, $title, $author, $url, $semantics, $encryptionID) | 78 | function sendFromUpdate($subscriptionURL, $title, $author, $url, $semantics, $encryptionID) |
79 | { | 79 | { |
80 | $subscriptionURL = instaDisc_resolveSubscription($subscriptionSeriesURL, $subscriptionID); | 80 | $getsed = "SELECT * FROM subscriptions WHERE url = \"" . mysql_real_escape_string($subscriptionURL) . "\""; |
81 | if ($subscriptionURL != 'false') | 81 | $getsed2 = mysql_query($getsed); |
82 | $i=0; | ||
83 | while ($getsed3[$i] = mysql_fetch_array($getsed2)) | ||
82 | { | 84 | { |
83 | $subscriptionURL = $subscriptionURL['url']; | 85 | instaDisc_addItem($getsed3[$i]['username'], $subscriptionURL, $title, $author, $url, $semantics, $encryptionID); |
84 | 86 | $i++; | |
85 | $getsed = "SELECT * FROM subscriptions WHERE url = \"" . mysql_real_escape_string($subscriptionURL) . "\""; | ||
86 | $getsed2 = mysql_query($getsed); | ||
87 | $i=0; | ||
88 | while ($getsed3[$i] = mysql_fetch_array($getsed2)) | ||
89 | { | ||
90 | instaDisc_addItem($getsed3[$i]['username'], $subscriptionURL, $title, $author, $url, $semantics, $encryptionID); | ||
91 | $i++; | ||
92 | } | ||
93 | |||
94 | return new xmlrpcresp(new xmlrpcval(0, "int")); | ||
95 | } | 87 | } |
96 | 88 | ||
97 | return new xmlrpcresp(new xmlrpcval(1, "int")); | 89 | return new xmlrpcresp(new xmlrpcval(0, "int")); |
98 | } | 90 | } |
99 | 91 | ||
100 | function deleteSubscription($username, $verification, $verificationID, $subscription) | 92 | function deleteSubscription($username, $verification, $verificationID, $subscription) |