aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/User/Setting/Skin.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/Bugzilla/User/Setting/Skin.pm b/Bugzilla/User/Setting/Skin.pm
index 817d5c065..c75ce7568 100644
--- a/Bugzilla/User/Setting/Skin.pm
+++ b/Bugzilla/User/Setting/Skin.pm
@@ -30,12 +30,8 @@ sub legal_values {
foreach my $direntry (glob(catdir($dirbase, '*'))) {
if (-d $direntry) {
- # Stylesheet set
next if basename($direntry) =~ /^cvs$/i;
- push(@legal_values, basename($direntry));
- }
- elsif ($direntry =~ /\.css$/) {
- # Single-file stylesheet
+ # Stylesheet set found
push(@legal_values, basename($direntry));
}
}