Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
2a3aa15f
Commit
2a3aa15f
authored
Dec 16, 2018
by
IKEDA Soji
Browse files
Simplify code.
parent
5dc9f5bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/WWW/Tools.pm
View file @
2a3aa15f
...
...
@@ -927,9 +927,8 @@ sub _get_css_url {
foreach
my
$file
(
<
$path
.*>
)
{
next
unless
0
==
index
(
$file
,
$path
)
and
substr
(
$file
,
length
$path
)
=~
/\A[.]\d+\z/
;
next
unless
-
f
$file
;
next
if
time
-
3600
<
Sympa::Tools::File::
get_mtime
(
$file
);
and
substr
(
$file
,
length
$path
)
=~
/\A[.]\d+\z/
and
-
f
$file
;
unlink
$file
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment