Remove old per_page method; require v5.34 instead of v5.36 for now
This commit is contained in:
parent
1e4ff30ff0
commit
6d37beec38
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue