cvs: pear-core /PEAR/Command Channels.php

From: Date: Tue, 14 Dec 2004 19:09:34 +0000
Subject: cvs: pear-core /PEAR/Command Channels.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-27392@lists.php.net to get a copy of this message
cellog Tue Dec 14 14:09:34 2004 EDT Modified files: /pear-core/PEAR/Command Channels.php Log: `' to "" in doDelete http://cvs.php.net/diff.php/pear-core/PEAR/Command/Channels.php?r1=1.22&r2=1.23&ty=u Index: pear-core/PEAR/Command/Channels.php diff -u pear-core/PEAR/Command/Channels.php:1.22 pear-core/PEAR/Command/Channels.php:1.23 --- pear-core/PEAR/Command/Channels.php:1.22 Tue Dec 14 14:08:24 2004 +++ pear-core/PEAR/Command/Channels.php Tue Dec 14 14:09:34 2004 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Channels.php,v 1.22 2004/12/14 19:08:24 cellog Exp $ +// $Id: Channels.php,v 1.23 2004/12/14 19:09:34 cellog Exp $ require_once 'PEAR/Command/Common.php'; require_once 'PEAR/Registry.php'; @@ -437,20 +437,20 @@ return $this->raiseError('Cannot delete the __uri pseudo-channel'); } if (!$reg->channelExists($channel)) { - return $this->raiseError('Channel `' . $channel . '\' does not exist'); + return $this->raiseError('Channel "' . $channel . '" does not exist'); } if (PEAR::isError($err = $reg->listPackages($channel))) { return $err; } if (count($err)) { - return $this->raiseError('Channel `' . $channel . - '\' has installed packages, cannot delete'); + return $this->raiseError('Channel "' . $channel . + '" has installed packages, cannot delete'); } if (!$reg->deleteChannel($channel)) { - return $this->raiseError('Channel deletion failed'); + return $this->raiseError('Channel "' . $channel . '"deletion failed'); } else { $this->config->deleteChannel($channel); - $this->ui->outputData('Channel `' . $channel . '\' deleted'); + $this->ui->outputData('Channel "' . $channel . '" deleted'); } }

« previous php.pear.cvs (#27392) next »