cvs: pear-core /PEAR RemoteInstaller.php
| From: | Greg Beaver | Date: | Sun, 02 Apr 2006 23:42:55 +0000 |
| Subject: | cvs: pear-core /PEAR RemoteInstaller.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4697@lists.php.net to get a copy of this message | ||
cellog Sun Apr 2 23:42:55 2006 UTC
Modified files:
/pear-core/PEAR RemoteInstaller.php
Log:
getPackageType() is what we need, not getType()
http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/RemoteInstaller.php?r1=1.4&r2=1.5&diff_format=u
Index: pear-core/PEAR/RemoteInstaller.php
diff -u pear-core/PEAR/RemoteInstaller.php:1.4 pear-core/PEAR/RemoteInstaller.php:1.5
--- pear-core/PEAR/RemoteInstaller.php:1.4 Sun Apr 2 23:14:59 2006
+++ pear-core/PEAR/RemoteInstaller.php Sun Apr 2 23:42:55 2006
@@ -18,7 +18,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 2005-2006 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: RemoteInstaller.php,v 1.4 2006/04/02 23:14:59 cellog Exp $
+ * @version CVS: $Id: RemoteInstaller.php,v 1.5 2006/04/02 23:42:55 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1.0
*/
@@ -162,7 +162,7 @@
*/
public function ftpInstall($pkg)
{
- if ($pkg->getType() != 'php') {
+ if ($pkg->getPackageType() != 'php') {
return PEAR::raiseError('Error: can only install PHP scripts remotely,' .
' no PHP extensions can be compiled remotely');
}