summaryrefslogtreecommitdiff
path: root/pear/PEAR/Remote.php
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2005-08-22 22:04:58 +0000
committerGreg Beaver <cellog@php.net>2005-08-22 22:04:58 +0000
commit2e3affd12110d2c438a70c70da892d6acc2713cf (patch)
tree427462d2307cd8b5f533899728080b40b8211416 /pear/PEAR/Remote.php
parentc64fd50c99685fc09575650d9f0a1968253efc3f (diff)
downloadphp-git-2e3affd12110d2c438a70c70da892d6acc2713cf.tar.gz
sync with PEAR 1.3.6
Diffstat (limited to 'pear/PEAR/Remote.php')
-rw-r--r--pear/PEAR/Remote.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pear/PEAR/Remote.php b/pear/PEAR/Remote.php
index c75b11b5c1..555ec63b6c 100644
--- a/pear/PEAR/Remote.php
+++ b/pear/PEAR/Remote.php
@@ -115,10 +115,10 @@ class PEAR_Remote extends PEAR
$this->saveCache($_args, $result);
};
return $result;
- }
- if (!@include_once("XML/RPC.php")) {
+ } elseif (!@include_once("XML/RPC.php")) {
return $this->raiseError("For this remote PEAR operation you need to install the XML_RPC package");
}
+
array_shift($args);
$server_host = $this->config->get('master_server');
$username = $this->config->get('username');