summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorMarc Schumann <wurblzap@gmail.com>2012-06-10 22:35:50 +0200
committerMarc Schumann <wurblzap@gmail.com>2012-06-10 22:35:50 +0200
commit0bc055bd657900e8ec0ae26e51c6f4ffc176f125 (patch)
treeee546d49337c58a097f04527b379b0f95526de81 /Bugzilla
parent15659830af72401bb709779eb1888fa34fa823a3 (diff)
downloadbugzilla-0bc055bd657900e8ec0ae26e51c6f4ffc176f125.tar.gz
bugzilla-0bc055bd657900e8ec0ae26e51c6f4ffc176f125.tar.xz
Bug 760020 – Remove leftover support for single-file skins.
r/a=LpSolit
Diffstat (limited to 'Bugzilla')
-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));
}
}