Skip to content

Commit 2ab4ffb

Browse files
committed
Remove a needless check in CI_Output::append_output()
1 parent 20e802e commit 2ab4ffb

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

system/core/Output.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,7 @@ public function set_output($output)
175175
*/
176176
public function append_output($output)
177177
{
178-
if (empty($this->final_output))
179-
{
180-
$this->final_output = $output;
181-
}
182-
else
183-
{
184-
$this->final_output .= $output;
185-
}
186-
178+
$this->final_output .= $output;
187179
return $this;
188180
}
189181

0 commit comments

Comments
 (0)