diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-24 15:15:09 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-24 15:15:09 +0100 |
commit | 2ab4ffbae66c4db68c3dadbbc8944d09ded17ec9 (patch) | |
tree | 7f65c8aa0a4dbd777e9b732ddd78b6e6c6a1fd14 | |
parent | 20e802eea2fc455622a0f4f721cb82acb046f5b8 (diff) |
Remove a needless check in CI_Output::append_output()
-rw-r--r-- | system/core/Output.php | 10 |
1 files changed, 1 insertions, 9 deletions
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; } |