summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2002-05-29 03:38:58 +0000
committerStig Bakken <ssb@php.net>2002-05-29 03:38:58 +0000
commit047ed8c727afee3b764dc5b51bd04a8796141719 (patch)
tree2d578b2804863adb0d45139d91c45cf27dbcde5f
parentd766f3001af1c2e413262fd7f2ce2ba743cb0c79 (diff)
downloadphp-git-047ed8c727afee3b764dc5b51bd04a8796141719.tar.gz
* no longer test on whether displayLine exists
-rw-r--r--pear/PEAR/Command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/PEAR/Command.php b/pear/PEAR/Command.php
index a59d22f52e..8eea62468a 100644
--- a/pear/PEAR/Command.php
+++ b/pear/PEAR/Command.php
@@ -156,7 +156,7 @@ class PEAR_Command
$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;