diff options
-rw-r--r-- | series/trunk/instadisc.sql | 16 | ||||
-rw-r--r-- | series/trunk/xmlrpc.php | 2 |
2 files changed, 16 insertions, 2 deletions
diff --git a/series/trunk/instadisc.sql b/series/trunk/instadisc.sql index 4c9a816..9ab9699 100644 --- a/series/trunk/instadisc.sql +++ b/series/trunk/instadisc.sql | |||
@@ -3,7 +3,7 @@ | |||
3 | -- http://www.phpmyadmin.net | 3 | -- http://www.phpmyadmin.net |
4 | -- | 4 | -- |
5 | -- Host: localhost | 5 | -- Host: localhost |
6 | -- Generation Time: Sep 13, 2008 at 09:16 AM | 6 | -- Generation Time: Sep 13, 2008 at 09:46 AM |
7 | -- Server version: 5.0.51 | 7 | -- Server version: 5.0.51 |
8 | -- PHP Version: 5.2.4-2ubuntu5.3 | 8 | -- PHP Version: 5.2.4-2ubuntu5.3 |
9 | -- | 9 | -- |
@@ -26,6 +26,20 @@ CREATE TABLE `config` ( | |||
26 | -- -------------------------------------------------------- | 26 | -- -------------------------------------------------------- |
27 | 27 | ||
28 | -- | 28 | -- |
29 | -- Table structure for table `oldVerID` | ||
30 | -- | ||
31 | |||
32 | DROP TABLE IF EXISTS `oldVerID`; | ||
33 | CREATE TABLE `oldVerID` ( | ||
34 | `id` int(11) NOT NULL auto_increment, | ||
35 | `username` varchar(255) NOT NULL, | ||
36 | `verID` int(11) NOT NULL, | ||
37 | PRIMARY KEY (`id`) | ||
38 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
39 | |||
40 | -- -------------------------------------------------------- | ||
41 | |||
42 | -- | ||
29 | -- Table structure for table `subscriptions` | 43 | -- Table structure for table `subscriptions` |
30 | -- | 44 | -- |
31 | 45 | ||
diff --git a/series/trunk/xmlrpc.php b/series/trunk/xmlrpc.php index 7bb7f10..5756dd4 100644 --- a/series/trunk/xmlrpc.php +++ b/series/trunk/xmlrpc.php | |||
@@ -56,7 +56,7 @@ function sendFromUpdate($username, $verification, $verificationID, $seriesURL, $ | |||
56 | $inssub2 = mysql_query($inssub); | 56 | $inssub2 = mysql_query($inssub); |
57 | } | 57 | } |
58 | 58 | ||
59 | $client = xmlrpc_client('http://central.fourisland.com/xmlrpc.php'); | 59 | $client = new xmlrpc_client('http://central.fourisland.com/xmlrpc.php'); |
60 | $msg = new xmlrpcmsg("InstaDisc.sendFromSeries", array( new xmlrpcval($seriesURL, 'string'), | 60 | $msg = new xmlrpcmsg("InstaDisc.sendFromSeries", array( new xmlrpcval($seriesURL, 'string'), |
61 | new xmlrpcval($seriesID, 'string'), | 61 | new xmlrpcval($seriesID, 'string'), |
62 | new xmlrpcval($title, 'string'), | 62 | new xmlrpcval($title, 'string'), |