From 2ab4ffbae66c4db68c3dadbbc8944d09ded17ec9 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 24 Feb 2014 16:15:09 +0200 Subject: Remove a needless check in CI_Output::append_output() --- system/core/Output.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'system/core') diff --git a/system/core/Output.php b/system/core/Output.php index 2811a73bc..d494d0080 100644 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -175,15 +175,7 @@ class CI_Output { */ public function append_output($output) { - if (empty($this->final_output)) - { - $this->final_output = $output; - } - else - { - $this->final_output .= $output; - } - + $this->final_output .= $output; return $this; } -- cgit v1.2.3-24-g4f1b