diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-21 13:55:53 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-21 13:55:53 +0000 |
commit | 1ef9b232d50523f3dac49e225d560bb9da0eb9b4 (patch) | |
tree | 40e0fe97e7556606b4aa1c12a1e3388634788c6d /update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php | |
parent | dad2244d930143c045c9567a2a2d9839b62145a2 (diff) | |
download | instadisc-1ef9b232d50523f3dac49e225d560bb9da0eb9b4.tar.gz instadisc-1ef9b232d50523f3dac49e225d560bb9da0eb9b4.tar.bz2 instadisc-1ef9b232d50523f3dac49e225d560bb9da0eb9b4.zip |
Update: Added VerID bounce to phpBB3 and Wordpress
Subversion is on its way as well, just it needs to be opened in NetBeans. Refs #44
Diffstat (limited to 'update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php')
-rw-r--r-- | update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php b/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php index 95d1956..714a47b 100644 --- a/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php +++ b/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php | |||
@@ -51,7 +51,13 @@ function sendItem($title, $userID, $url, $fourm) | |||
51 | new xmlrpcval($author, 'string'), | 51 | new xmlrpcval($author, 'string'), |
52 | new xmlrpcval($url, 'string'), | 52 | new xmlrpcval($url, 'string'), |
53 | new xmlrpcval(serialize($semantics), 'string'))); | 53 | new xmlrpcval(serialize($semantics), 'string'))); |
54 | $client->send($msg); | 54 | $resp = $client->send($msg); |
55 | $val = $resp->value()->scalarVal(); | ||
56 | |||
57 | if ($val == 2) | ||
58 | { | ||
59 | sendItem($title, $userID, $url, $fourm); | ||
60 | } | ||
55 | } | 61 | } |
56 | 62 | ||
57 | ?> | 63 | ?> |