aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/User/Setting
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/User/Setting
parent15659830af72401bb709779eb1888fa34fa823a3 (diff)
downloadbugs-0bc055bd657900e8ec0ae26e51c6f4ffc176f125.tar
bugs-0bc055bd657900e8ec0ae26e51c6f4ffc176f125.tar.gz
bugs-0bc055bd657900e8ec0ae26e51c6f4ffc176f125.tar.bz2
bugs-0bc055bd657900e8ec0ae26e51c6f4ffc176f125.tar.xz
bugs-0bc055bd657900e8ec0ae26e51c6f4ffc176f125.zip
Bug 760020 – Remove leftover support for single-file skins.
r/a=LpSolit
Diffstat (limited to 'Bugzilla/User/Setting')
-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));
}
}