From ce035a88af4e76479474f6ccf037eb7740c46f51 Mon Sep 17 00:00:00 2001 From: Pancakes Date: Mon, 20 Jan 2025 12:04:20 -0500 Subject: [PATCH] Remove unneeded function --- db/savedata.go | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/db/savedata.go b/db/savedata.go index f0cda99..3f469ee 100644 --- a/db/savedata.go +++ b/db/savedata.go @@ -254,25 +254,3 @@ func GetSystemSaveFromS3(uuid []byte) (defs.SystemSaveData, error) { return system, nil } - -func GetLocalSystemAccounts() ([][]byte, error) { - var users [][]byte - rows, err := handle.Query("SELECT uuid FROM systemSaveData LIMIT 3000") - if err != nil { - return nil, err - } - - defer rows.Close() - - for rows.Next() { - var uuid []byte - err := rows.Scan(&uuid) - if err != nil { - return nil, err - } - - users = append(users, uuid) - } - - return users, nil -}