From: Timo Tijhof Date: Tue, 31 Mar 2015 18:23:58 +0000 (+0100) Subject: profiler: Consolidate duplicate branches in ProfilerOutputText X-Git-Tag: 1.31.0-rc.0~11919 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=2d7706b14384f3e1ab84a18d6ef2c3ec5e544b12;p=lhc%2Fweb%2Fwiklou.git profiler: Consolidate duplicate branches in ProfilerOutputText Follows-up 3ca6ab103166c. Change-Id: I342c68990301a303425c83847406dcf3b308bd27 --- diff --git a/includes/profiler/output/ProfilerOutputText.php b/includes/profiler/output/ProfilerOutputText.php index d5a7180116..675277986d 100644 --- a/includes/profiler/output/ProfilerOutputText.php +++ b/includes/profiler/output/ProfilerOutputText.php @@ -69,9 +69,7 @@ class ProfilerOutputText extends ProfilerOutput { } else { print "\n"; } - } elseif ( $contentType === 'text/javascript' ) { - print "\n/*\n{$out}*/\n"; - } elseif ( $contentType === 'text/css' ) { + } elseif ( $contentType === 'text/javascript' || $contentType === 'text/css' ) { print "\n/*\n{$out}*/\n"; } }