aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Filesystem.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@netscape.net>2018-02-18 18:25:30 +0100
committerFrédéric Buclin <LpSolit@netscape.net>2018-02-18 18:25:30 +0100
commitc52e3c6e8ad547ec035309994144fd22e2925267 (patch)
treed762218e6f71e302121d6112ad14deb5552201f8 /Bugzilla/Install/Filesystem.pm
parentd966c278e6c653a90343c739ac5a48f4127cf7e0 (diff)
parent37784703eba80cb61d1734a11e09b62fa0eaeae9 (diff)
downloadbugs-c52e3c6e8ad547ec035309994144fd22e2925267.tar
bugs-c52e3c6e8ad547ec035309994144fd22e2925267.tar.gz
bugs-c52e3c6e8ad547ec035309994144fd22e2925267.tar.bz2
bugs-c52e3c6e8ad547ec035309994144fd22e2925267.tar.xz
bugs-c52e3c6e8ad547ec035309994144fd22e2925267.zip
Sync with upstream release 5.0.4
Diffstat (limited to 'Bugzilla/Install/Filesystem.pm')
-rw-r--r--Bugzilla/Install/Filesystem.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm
index 43512e79c..d30ae18dc 100644
--- a/Bugzilla/Install/Filesystem.pm
+++ b/Bugzilla/Install/Filesystem.pm
@@ -31,7 +31,6 @@ use File::Path;
use File::Basename;
use File::Copy qw(move);
use File::Spec;
-use File::Slurp;
use IO::File;
use POSIX ();
@@ -536,7 +535,7 @@ sub update_filesystem {
# Remove old assets htaccess file to force recreation with correct values.
if (-e "$assetsdir/.htaccess") {
- if (read_file("$assetsdir/.htaccess") =~ /<FilesMatch \\\.css\$>/) {
+ if (read_text("$assetsdir/.htaccess") =~ /<FilesMatch \\\.css\$>/) {
unlink("$assetsdir/.htaccess");
}
}