From 3541cadd8b59dcc040570c64674350b21eb592af Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 18 Sep 2008 22:12:05 +0000 Subject: Update: Removed Series-related code Refs #57 --- update/plugin/mediawiki/trunk/extensions/instadisc/instadisc.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'update/plugin') 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'; function instaDisc_sendItem(&$article, &$user, &$text, &$summary, &$minoredit, &$watchthis, &$sectionanchor, &$flags, &$revision) { - global $instaDisc_password, $instaDisc_seriesURL, $instaDisc_subscriptionID; + global $instaDisc_password, $instaDisc_subscriptionURL; - if (!isset($instaDisc_password) || !isset($instaDisc_seriesURL) || !isset($instaDisc_subscriptionID)) + if (!isset($instaDisc_password) || !isset($instaDisc_subscriptionURL)) { return false; } @@ -35,8 +35,7 @@ function instaDisc_sendItem(&$article, &$user, &$text, &$summary, &$minoredit, & $verID = rand(1,2147483647); $client = new xmlrpc_client('http://central.fourisland.com/xmlrpc.php'); - $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($instaDisc_seriesURL, 'string'), - new xmlrpcval($instaDisc_subscriptionID, 'string'), + $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($instaDisc_subscriptionURL, 'string'), new xmlrpcval($title, 'string'), new xmlrpcval($author, 'string'), new xmlrpcval($url, 'string'), -- cgit 1.4.1