Skip to content

Commit

Permalink
Remove unneeded function
Browse files Browse the repository at this point in the history
  • Loading branch information
patapancakes committed Jan 20, 2025
1 parent 02f765c commit ce035a8
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions db/savedata.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit ce035a8

Please sign in to comment.