about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--update/plugin/mediawiki/trunk/extensions/instadisc/instadisc.php7
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
16function instaDisc_sendItem(&$article, &$user, &$text, &$summary, &$minoredit, &$watchthis, &$sectionanchor, &$flags, &$revision) 16function 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'),