summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-24 15:15:09 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-24 15:15:09 +0100
commit2ab4ffbae66c4db68c3dadbbc8944d09ded17ec9 (patch)
tree7f65c8aa0a4dbd777e9b732ddd78b6e6c6a1fd14 /system
parent20e802eea2fc455622a0f4f721cb82acb046f5b8 (diff)
Remove a needless check in CI_Output::append_output()
Diffstat (limited to 'system')
-rw-r--r--system/core/Output.php10
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;
}