about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-21 13:37:35 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-21 13:37:35 +0000
commit4b1000f89ebfa09c52726af5fe4f614f546aba6b (patch)
treedb848c114ff0c1d8fe75a287f4ab2e5c1968c9b9
parent5a5f614c4dd17cfbe88617b5708fe19f5ccdf75b (diff)
downloadinstadisc-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
-rw-r--r--central/trunk/xmlrpc.php2
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"));