From 2d7706b14384f3e1ab84a18d6ef2c3ec5e544b12 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Tue, 31 Mar 2015 19:23:58 +0100 Subject: [PATCH] profiler: Consolidate duplicate branches in ProfilerOutputText Follows-up 3ca6ab103166c. Change-Id: I342c68990301a303425c83847406dcf3b308bd27 --- includes/profiler/output/ProfilerOutputText.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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"; } } -- 2.20.1