Remove old per_page method; require v5.34 instead of v5.36 for now

This commit is contained in:
swag 2022-11-03 14:10:43 -04:00
parent 1e4ff30ff0
commit 6d37beec38
2 changed files with 1 additions and 5 deletions

View File

@ -25,10 +25,6 @@ sub by_page_for($self, $thread_id, $this_page = 1) {
END_SQL END_SQL
} }
sub per_page($self, $value = undef) {
$self->per_page = $value // $self->per_page
}
sub create($self, $thread_id, $author, $body, $hidden = 0, $flagged = 0) { sub create($self, $thread_id, $author, $body, $hidden = 0, $flagged = 0) {
my @data = ($thread_id, $author, $body, $hidden, $flagged); my @data = ($thread_id, $author, $body, $hidden, $flagged);

View File

@ -3,7 +3,7 @@
# PostText v0.1 # PostText v0.1
# Jul 22 # Jul 22
use v5.36; use v5.34;
use Mojo::File qw{curfile}; use Mojo::File qw{curfile};
use lib curfile->dirname->sibling('lib')->to_string; use lib curfile->dirname->sibling('lib')->to_string;
use Mojolicious::Commands; use Mojolicious::Commands;