aboutsummaryrefslogtreecommitdiff
path: root/federationsender/storage
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-07-20 17:03:20 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2020-07-20 17:03:20 +0100
commit489f34fed7fccd59c0788536894561157d1089c1 (patch)
tree1ff28fa3b3f4b80be3b782790d1a94ff425b24af /federationsender/storage
parent11a39fe3b5afeadafd2c842951462d9332ebecca (diff)
Remove debug lines
Diffstat (limited to 'federationsender/storage')
-rw-r--r--federationsender/storage/sqlite3/queue_edus_table.go1
-rw-r--r--federationsender/storage/sqlite3/queue_pdus_table.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/federationsender/storage/sqlite3/queue_edus_table.go b/federationsender/storage/sqlite3/queue_edus_table.go
index ed5d9ffa..cd11a0ea 100644
--- a/federationsender/storage/sqlite3/queue_edus_table.go
+++ b/federationsender/storage/sqlite3/queue_edus_table.go
@@ -124,7 +124,6 @@ func (s *queueEDUsStatements) DeleteQueueEDUs(
jsonNIDs []int64,
) error {
deleteSQL := strings.Replace(deleteQueueEDUsSQL, "($2)", sqlutil.QueryVariadicOffset(len(jsonNIDs), 1), 1)
- fmt.Println(deleteSQL)
deleteStmt, err := txn.Prepare(deleteSQL)
if err != nil {
return fmt.Errorf("s.deleteQueueJSON s.db.Prepare: %w", err)
diff --git a/federationsender/storage/sqlite3/queue_pdus_table.go b/federationsender/storage/sqlite3/queue_pdus_table.go
index 9d8eaab6..1474bfc0 100644
--- a/federationsender/storage/sqlite3/queue_pdus_table.go
+++ b/federationsender/storage/sqlite3/queue_pdus_table.go
@@ -139,7 +139,6 @@ func (s *queuePDUsStatements) DeleteQueuePDUs(
jsonNIDs []int64,
) error {
deleteSQL := strings.Replace(deleteQueuePDUsSQL, "($2)", sqlutil.QueryVariadicOffset(len(jsonNIDs), 1), 1)
- fmt.Println(deleteSQL)
deleteStmt, err := txn.Prepare(deleteSQL)
if err != nil {
return fmt.Errorf("s.deleteQueueJSON s.db.Prepare: %w", err)