Fix Rpc calls.
authorJan Schneider <jan@horde.org>
Mon, 14 Sep 2009 08:10:12 +0000 (10:10 +0200)
committerJan Schneider <jan@horde.org>
Mon, 14 Sep 2009 08:10:12 +0000 (10:10 +0200)
framework/Release/lib/Horde/Release/Whups.php

index 27ec2fa..96190d7 100644 (file)
@@ -13,9 +13,9 @@
 class Horde_Release_Whups
 {
     /**
-     * Instance of XML_RPC_Client object
+     * Instance of Horde_Rpc client object.
      *
-     * @var XML_RPC_CLient
+     * @var Horde_Rpc
      */
     protected $_client;
 
@@ -61,7 +61,7 @@ class Horde_Release_Whups
         $options = array('user' => $this->_params['user'],
                          'pass' => $this->_params['pass']);
 
-        $res = Horde_RPC::request('jsonrpc', $this->_params['url'], $method, $params, $options);
+        $res = Horde_Rpc::request('jsonrpc', $this->_params['url'], $method, $params, $options);
         if ($res instanceof PEAR_Error) {
             throw new Horde_Exception($res);
         }
@@ -96,7 +96,7 @@ class Horde_Release_Whups
     protected function _listQueues()
     {
         $method = 'tickets.listQueues';
-        $result = Horde_RPC::request('jsonrpc', $this->_params['url'], $method,
+        $result = Horde_Rpc::request('jsonrpc', $this->_params['url'], $method,
                                      null, array('user' => $this->_params['user'],
                                                  'pass' => $this->_params['pass']));
         if ($result instanceof PEAR_Error) {