Bug 9479 follow-up: only set KohaDates as dynamic once
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 31 Mar 2013 03:35:55 +0000 (23:35 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 31 Mar 2013 03:35:55 +0000 (23:35 -0400)
Koha/Template/Plugin/KohaDates.pm

index 7c5ee68..882d51e 100644 (file)
@@ -25,12 +25,6 @@ use base qw( Template::Plugin::Filter );
 use Koha::DateUtils;
 our $DYNAMIC = 1;
 
-sub init {
-    my $self = shift;
-    $self->{ _DYNAMIC } = 1;
-    return $self;
-}
-
 sub filter {
     my ( $self, $text, $args, $config ) = @_;
     return "" unless $text;