Remove unneeded function

save-rewrite
Pancakes 2 days ago
parent 02f765c114
commit ce035a88af
No known key found for this signature in database
GPG Key ID: 5792877BFA27DC8F

@ -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
}

Loading…
Cancel
Save