get_mtime isn't needed anymore

master
Daniel Berteaud 10 years ago
parent 2d8a599cc6
commit c22ed01a86
  1. 9
      vroom.pl

@ -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;

Loading…
Cancel
Save