forked from SteamWar/SteamWar
Fixes
This commit is contained in:
@@ -373,6 +373,6 @@ public class SteamwarUser {
|
||||
}
|
||||
|
||||
public static List<SteamwarUser> getAll() {
|
||||
return null;
|
||||
return getAll.listSelect();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ public enum UserPerm {
|
||||
|
||||
private static final Table<UserPermTable> table = new Table<>(UserPermTable.class, "UserPerm");
|
||||
private static final SelectStatement<UserPermTable> getPerms = table.selectFields("user");
|
||||
private static final Statement addPerm = table.insertFields("user", "perm");
|
||||
private static final Statement addPerm = table.insertAll();
|
||||
private static final Statement removePerm = table.delete(Table.PRIMARY);
|
||||
|
||||
public static Set<UserPerm> getPerms(int user) {
|
||||
|
||||
Reference in New Issue
Block a user