summaryrefslogtreecommitdiff
path: root/internal/db/poll.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/poll.go')
-rw-r--r--internal/db/poll.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/db/poll.go b/internal/db/poll.go
index b59d27c73..ac0229855 100644
--- a/internal/db/poll.go
+++ b/internal/db/poll.go
@@ -27,9 +27,6 @@ type Poll interface {
// GetPollByID fetches the Poll with given ID from the database.
GetPollByID(ctx context.Context, id string) (*gtsmodel.Poll, error)
- // GetPollByStatusID fetches the Poll with given status ID column value from the database.
- GetPollByStatusID(ctx context.Context, statusID string) (*gtsmodel.Poll, error)
-
// GetOpenPolls fetches all local Polls in the database with an unset `closed_at` column.
GetOpenPolls(ctx context.Context) ([]*gtsmodel.Poll, error)