diff options
Diffstat (limited to 'central/trunk')
-rw-r--r-- | central/trunk/xmlrpc.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/central/trunk/xmlrpc.php b/central/trunk/xmlrpc.php index c10002a..2c6b2e6 100644 --- a/central/trunk/xmlrpc.php +++ b/central/trunk/xmlrpc.php | |||
@@ -54,6 +54,25 @@ function resendItem($username, $verification, $verificationID, $id) | |||
54 | return new xmlrpcresp(new xmlrpcval(1, "int")); | 54 | return new xmlrpcresp(new xmlrpcval(1, "int")); |
55 | } | 55 | } |
56 | 56 | ||
57 | function requestRetained($username, $verification, $veriicationID) | ||
58 | { | ||
59 | if (instaDisc_checkVerification($username, $verification, $verificationID, 'users', 'username', 'password')) | ||
60 | { | ||
61 | $getitems = "SELECT * FROM inbox WHERE username = \"" . mysql_escape_string($username) . "\""; | ||
62 | $getitems2 = mysql_query($getitems); | ||
63 | $i=0; | ||
64 | while ($getitems3[$i] = mysql_fetch_array($getitems2)) | ||
65 | { | ||
66 | instaDisc_sendItem($username, $getitems3[$i]['itemID']); | ||
67 | $i++; | ||
68 | } | ||
69 | |||
70 | return new xmlrpcresp(new xmlrpcval(0, "int")); | ||
71 | } | ||
72 | |||
73 | return new xmlrpcresp(new xmlrpcval(1, "int")); | ||
74 | } | ||
75 | |||
57 | function sendFromUpdate($username, $verification, $verificationID, $subscription, $title, $author, $url, $semantics) | 76 | function sendFromUpdate($username, $verification, $verificationID, $subscription, $title, $author, $url, $semantics) |
58 | { | 77 | { |
59 | if (instaDisc_checkVerification($username, $verification, $verificationID, 'users', 'username', 'password')) | 78 | if (instaDisc_checkVerification($username, $verification, $verificationID, 'users', 'username', 'password')) |