1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-01 21:11:41 +02:00

get_mtime isn't needed anymore

This commit is contained in:
Daniel Berteaud 2015-06-19 16:16:54 +02:00
parent 2d8a599cc6
commit c22ed01a86

View File

@ -474,15 +474,6 @@ helper get_random_name => sub {
return $name; return $name;
}; };
# Return the mtime of a file
# Used to append the timestamp to JS and CSS files
# So client can get new version immediatly
helper get_mtime => sub {
my $self = shift;
my ($file) = @_;
return stat($file)->mtime;
};
# Add an email address to the list of notifications # Add an email address to the list of notifications
helper add_notification => sub { helper add_notification => sub {
my $self = shift; my $self = shift;