cvs: php-src(PHP_5_1) /pear/PEAR Remote.php

From: Date: Thu, 18 Aug 2005 21:29:31 +0000
Subject: cvs: php-src(PHP_5_1) /pear/PEAR Remote.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-33551@lists.php.net to get a copy of this message
pajoye Thu Aug 18 17:29:31 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/pear/PEAR Remote.php Log: - fix bad revert and make the xmlrpc ext detections fallback forgot that 5.1 still has pear in its branche http://cvs.php.net/diff.php/php-src/pear/PEAR/Remote.php?r1=1.50.4.2&r2=1.50.4.3&ty=u Index: php-src/pear/PEAR/Remote.php diff -u php-src/pear/PEAR/Remote.php:1.50.4.2 php-src/pear/PEAR/Remote.php:1.50.4.3 --- php-src/pear/PEAR/Remote.php:1.50.4.2 Wed Aug 17 17:30:45 2005 +++ php-src/pear/PEAR/Remote.php Thu Aug 18 17:29:28 2005 @@ -16,7 +16,7 @@ // | Author: Stig Bakken <ssb@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Remote.php,v 1.50.4.2 2005/08/17 21:30:45 cellog Exp $ +// $Id: Remote.php,v 1.50.4.3 2005/08/18 21:29:28 pajoye Exp $ require_once 'PEAR.php'; require_once 'PEAR/Config.php'; @@ -115,9 +115,10 @@ $this->saveCache($_args, $result); }; return $result; + } else { + return $this->raiseError("For this remote PEAR operation you need to load the xmlrpc extension or install XML_RPC"); } - 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); $server_host = $this->config->get('master_server'); $username = $this->config->get('username');

« previous php.cvs (#33551) next »