diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-21 13:37:35 +0000 | 
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-21 13:37:35 +0000 | 
| commit | 4b1000f89ebfa09c52726af5fe4f614f546aba6b (patch) | |
| tree | db848c114ff0c1d8fe75a287f4ab2e5c1968c9b9 /central | |
| parent | 5a5f614c4dd17cfbe88617b5708fe19f5ccdf75b (diff) | |
| download | instadisc-4b1000f89ebfa09c52726af5fe4f614f546aba6b.tar.gz instadisc-4b1000f89ebfa09c52726af5fe4f614f546aba6b.tar.bz2 instadisc-4b1000f89ebfa09c52726af5fe4f614f546aba6b.zip | |
Central: Started Update VerID bounce
With the addition of a new return value in sendFromUpdate(), the Update Server should know when Verification fails and thus to resend the request. Refs #44
Diffstat (limited to 'central')
| -rw-r--r-- | central/trunk/xmlrpc.php | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/central/trunk/xmlrpc.php b/central/trunk/xmlrpc.php index 53b947e..53e48b2 100644 --- a/central/trunk/xmlrpc.php +++ b/central/trunk/xmlrpc.php | |||
| @@ -114,6 +114,8 @@ function sendFromUpdate($username, $verification, $verificationID, $subscription | |||
| 114 | 114 | ||
| 115 | return new xmlrpcresp(new xmlrpcval(0, "int")); | 115 | return new xmlrpcresp(new xmlrpcval(0, "int")); | 
| 116 | } | 116 | } | 
| 117 | } else { | ||
| 118 | return new xmlrpcresp(new xmlrpcval(2, "int")); | ||
| 117 | } | 119 | } | 
| 118 | 120 | ||
| 119 | return new xmlrpcresp(new xmlrpcval(1, "int")); | 121 | return new xmlrpcresp(new xmlrpcval(1, "int")); | 
