cleanup
This commit is contained in:
parent
b15fae5a77
commit
57de51b29c
@ -100,8 +100,7 @@ sub flag($self, $thread_id) {
|
|||||||
sub feed($self) {
|
sub feed($self) {
|
||||||
my $date_format = $self->date_format;
|
my $date_format = $self->date_format;
|
||||||
|
|
||||||
$self->pg->db
|
$self->pg->db->query(<<~'END_SQL', $date_format)->hashes;
|
||||||
->query(<<~'END_SQL', $date_format)->hashes;
|
|
||||||
SELECT t.thread_id AS id,
|
SELECT t.thread_id AS id,
|
||||||
TO_CHAR(t.thread_date, ?) AS date,
|
TO_CHAR(t.thread_date, ?) AS date,
|
||||||
t.thread_author AS author,
|
t.thread_author AS author,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user