diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-18 22:12:05 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-18 22:12:05 +0000 |
commit | 3541cadd8b59dcc040570c64674350b21eb592af (patch) | |
tree | e5b5adff9427c0878404d666d70e407b0bc3d740 /update/plugin/mediawiki | |
parent | 9bf124f0e7ec5b6f6ff68649764c5d6fe39640b9 (diff) | |
download | instadisc-3541cadd8b59dcc040570c64674350b21eb592af.tar.gz instadisc-3541cadd8b59dcc040570c64674350b21eb592af.tar.bz2 instadisc-3541cadd8b59dcc040570c64674350b21eb592af.zip |
Update: Removed Series-related code
Refs #57
Diffstat (limited to 'update/plugin/mediawiki')
-rw-r--r-- | update/plugin/mediawiki/trunk/extensions/instadisc/instadisc.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/update/plugin/mediawiki/trunk/extensions/instadisc/instadisc.php b/update/plugin/mediawiki/trunk/extensions/instadisc/instadisc.php index e64db11..1cc0683 100644 --- a/update/plugin/mediawiki/trunk/extensions/instadisc/instadisc.php +++ b/update/plugin/mediawiki/trunk/extensions/instadisc/instadisc.php | |||
@@ -15,9 +15,9 @@ $wgHooks['ArticleSaveComplete'][] = 'instaDisc_sendItem'; | |||
15 | 15 | ||
16 | function instaDisc_sendItem(&$article, &$user, &$text, &$summary, &$minoredit, &$watchthis, &$sectionanchor, &$flags, &$revision) | 16 | function instaDisc_sendItem(&$article, &$user, &$text, &$summary, &$minoredit, &$watchthis, &$sectionanchor, &$flags, &$revision) |
17 | { | 17 | { |
18 | global $instaDisc_password, $instaDisc_seriesURL, $instaDisc_subscriptionID; | 18 | global $instaDisc_password, $instaDisc_subscriptionURL; |
19 | 19 | ||
20 | if (!isset($instaDisc_password) || !isset($instaDisc_seriesURL) || !isset($instaDisc_subscriptionID)) | 20 | if (!isset($instaDisc_password) || !isset($instaDisc_subscriptionURL)) |
21 | { | 21 | { |
22 | return false; | 22 | return false; |
23 | } | 23 | } |
@@ -35,8 +35,7 @@ function instaDisc_sendItem(&$article, &$user, &$text, &$summary, &$minoredit, & | |||
35 | $verID = rand(1,2147483647); | 35 | $verID = rand(1,2147483647); |
36 | 36 | ||
37 | $client = new xmlrpc_client('http://central.fourisland.com/xmlrpc.php'); | 37 | $client = new xmlrpc_client('http://central.fourisland.com/xmlrpc.php'); |
38 | $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($instaDisc_seriesURL, 'string'), | 38 | $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($instaDisc_subscriptionURL, 'string'), |
39 | new xmlrpcval($instaDisc_subscriptionID, 'string'), | ||
40 | new xmlrpcval($title, 'string'), | 39 | new xmlrpcval($title, 'string'), |
41 | new xmlrpcval($author, 'string'), | 40 | new xmlrpcval($author, 'string'), |
42 | new xmlrpcval($url, 'string'), | 41 | new xmlrpcval($url, 'string'), |