From 01ca269dd36c05c1e74af6f200a53782cebf254c Mon Sep 17 00:00:00 2001 From: swag Date: Wed, 9 Feb 2022 21:14:15 -0500 Subject: [PATCH] Remove hash key, not needed --- lib/GuestbookNg/Model/Counter.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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) {