Remove hash key, not needed
This commit is contained in:
parent
7c89420bbd
commit
01ca269dd3
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue