diff options
Diffstat (limited to 'pear/PEAR/Command.php')
-rw-r--r-- | pear/PEAR/Command.php | 2 |
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; |