cvs: php4(NEW_UI_API) /pear/PEAR Command.php
| From: | Stig Bakken | Date: | Wed, 29 May 2002 03:38:58 +0000 |
| Subject: | cvs: php4(NEW_UI_API) /pear/PEAR Command.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4227@lists.php.net to get a copy of this message | ||
ssb Tue May 28 23:38:58 2002 EDT
Modified files: (Branch: NEW_UI_API)
/php4/pear/PEAR Command.php
Log:
* no longer test on whether displayLine exists
Index: php4/pear/PEAR/Command.php
diff -u php4/pear/PEAR/Command.php:1.14.2.1 php4/pear/PEAR/Command.php:1.14.2.2
--- php4/pear/PEAR/Command.php:1.14.2.1 Tue May 28 09:03:25 2002
+++ php4/pear/PEAR/Command.php Tue May 28 23:38:58 2002
@@ -16,7 +16,7 @@
// | Author: Stig Bakken <ssb@fast.no> |
// +----------------------------------------------------------------------+
//
-// $Id: Command.php,v 1.14.2.1 2002/05/28 13:03:25 ssb Exp $
+// $Id: Command.php,v 1.14.2.2 2002/05/29 03:38:58 ssb Exp $
require_once "PEAR.php";
@@ -156,7 +156,7 @@
$obj = &new $uiclass;
// quick test to see if this class implements a few of the most
// important frontend methods
- if (method_exists($obj, 'displayLine') && method_exists($obj,
'userConfirm')) {
+ if (method_exists($obj, 'userConfirm')) {
$GLOBALS['_PEAR_Command_uiobject'] = &$obj;
$GLOBALS['_PEAR_Command_uiclass'] = $uiclass;
return $obj;