Commit 2a3aa15f authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Simplify code.

parent 5dc9f5bd
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment