summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-12-20 19:50:12 +0100
committerGitHub <noreply@github.com>2017-12-20 19:50:12 +0100
commit7754ea1c7cab26b5b40e7653f1d6cbe7d246c975 (patch)
treeed39b1672e477e22ca5f5a3c8afd075e29c25750 /Bugzilla/Install
parentd87c64e5805adb4bae54b10d517c10463a9251fc (diff)
downloadbugzilla-7754ea1c7cab26b5b40e7653f1d6cbe7d246c975.tar.gz
bugzilla-7754ea1c7cab26b5b40e7653f1d6cbe7d246c975.tar.xz
Bug 1361890 - Remove asset concatenation
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/Filesystem.pm22
1 files changed, 0 insertions, 22 deletions
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm
index 01b8d7e8e..89a1e5d93 100644
--- a/Bugzilla/Install/Filesystem.pm
+++ b/Bugzilla/Install/Filesystem.pm
@@ -579,7 +579,6 @@ sub update_filesystem {
_remove_empty_css_files();
_convert_single_file_skins();
- _remove_dynamic_assets();
}
sub _css_url_fix {
@@ -645,27 +644,6 @@ sub _convert_single_file_skins {
}
}
-# delete all automatically generated css/js files to force recreation at the
-# next request.
-sub _remove_dynamic_assets {
- my @files = (
- glob(bz_locations()->{assetsdir} . '/*.css'),
- glob(bz_locations()->{assetsdir} . '/*.js'),
- );
- foreach my $file (@files) {
- unlink($file);
- }
-
- # remove old skins/assets directory
- my $old_path = bz_locations()->{skinsdir} . '/assets';
- if (-d $old_path) {
- foreach my $file (glob("$old_path/*.css")) {
- unlink($file);
- }
- rmdir($old_path);
- }
-}
-
sub create_htaccess {
_create_files(%{FILESYSTEM()->{htaccess}});