From e7c044d4b2721d41a914b60c5879d7b0cdfdf653 Mon Sep 17 00:00:00 2001 From: Rob Bast Date: Thu, 30 Apr 2015 12:10:27 +0200 Subject: [PATCH] Remove dead code --- src/Composer/IO/ConsoleIO.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Composer/IO/ConsoleIO.php b/src/Composer/IO/ConsoleIO.php index 85095d951..366c67483 100644 --- a/src/Composer/IO/ConsoleIO.php +++ b/src/Composer/IO/ConsoleIO.php @@ -160,12 +160,6 @@ class ConsoleIO extends BaseIO */ private function doOverwrite($messages, $newline, $size, $stderr) { - if (true === $stderr && $this->output instanceof ConsoleOutputInterface) { - $output = $this->output->getErrorOutput(); - } else { - $output = $this->output; - } - // messages can be an array, let's convert it to string anyway $messages = join($newline ? "\n" : '', (array) $messages);