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:
parent
2d8a599cc6
commit
c22ed01a86
9
vroom.pl
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…
Reference in New Issue
Block a user