diff --git a/lib/GuestbookNg/Model/Counter.pm b/lib/GuestbookNg/Model/Counter.pm index ca0d691..88ce701 100644 --- a/lib/GuestbookNg/Model/Counter.pm +++ b/lib/GuestbookNg/Model/Counter.pm @@ -7,10 +7,7 @@ use Mojo::Base -base, -signatures; has 'pg'; sub new($class, $pg, $pg_object) { - bless { - $pg => $pg_object, - max_posts => 5 - } + bless {$pg => $pg_object} } sub get_visitor_count($self) {