cvs: pear-core /PEAR Remote.php
| From: | Pierre-Alain Joye | Date: | Thu, 11 Aug 2005 21:51:19 +0000 |
| Subject: | cvs: pear-core /PEAR Remote.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-3491@lists.php.net to get a copy of this message | ||
pajoye Thu Aug 11 17:51:19 2005 EDT
Modified files:
/pear-core/PEAR Remote.php
Log:
- MFB: remove xml_rpc
http://cvs.php.net/diff.php/pear-core/PEAR/Remote.php?r1=1.71&r2=1.72&ty=u
Index: pear-core/PEAR/Remote.php
diff -u pear-core/PEAR/Remote.php:1.71 pear-core/PEAR/Remote.php:1.72
--- pear-core/PEAR/Remote.php:1.71 Sun Apr 17 10:24:06 2005
+++ pear-core/PEAR/Remote.php Thu Aug 11 17:51:17 2005
@@ -16,7 +16,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Remote.php,v 1.71 2005/04/17 14:24:06 cellog Exp $
+ * @version CVS: $Id: Remote.php,v 1.72 2005/08/11 21:51:17 pajoye Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -183,10 +183,10 @@
$this->saveCache($_args, $result);
}
return $result;
+ } else {
+ return $this->raiseError("For this remote PEAR operation you need to load the
xmlrpc extension");
}
- if (!@include_once 'XML/RPC.php') {
- return $this->raiseError("For this remote PEAR operation you need to install
the XML_RPC package");
- }
+
array_shift($args);
$username = $this->config->get('username');
$password = $this->config->get('password');