cvs: pear-core(PEAR_1_3) /PEAR Remote.php
| From: | Pierre-Alain Joye | Date: | Thu, 11 Aug 2005 21:47:01 +0000 |
| Subject: | cvs: pear-core(PEAR_1_3) /PEAR Remote.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-3490@lists.php.net to get a copy of this message | ||
pajoye Thu Aug 11 17:47:01 2005 EDT
Modified files: (Branch: PEAR_1_3)
/pear-core/PEAR Remote.php
Log:
- remove xml_rpc include
http://cvs.php.net/diff.php/pear-core/PEAR/Remote.php?r1=1.50&r2=1.50.2.1&ty=u
Index: pear-core/PEAR/Remote.php
diff -u pear-core/PEAR/Remote.php:1.50 pear-core/PEAR/Remote.php:1.50.2.1
--- pear-core/PEAR/Remote.php:1.50 Tue Jun 8 14:03:46 2004
+++ pear-core/PEAR/Remote.php Thu Aug 11 17:46:59 2005
@@ -16,7 +16,7 @@
// | Author: Stig Bakken <ssb@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Remote.php,v 1.50 2004/06/08 18:03:46 cellog Exp $
+// $Id: Remote.php,v 1.50.2.1 2005/08/11 21:46:59 pajoye Exp $
require_once 'PEAR.php';
require_once 'PEAR/Config.php';
@@ -115,9 +115,8 @@
$this->saveCache($_args, $result);
};
return $result;
- }
- if (!@include_once("XML/RPC.php")) {
- return $this->raiseError("For this remote PEAR operation you need to install
the XML_RPC package");
+ } else {
+ return $this->raiseError("For this remote PEAR operation you need to load the
xmlrpc extension");
}
array_shift($args);
$server_host = $this->config->get('master_server');