Fixing potential NullPointerException and schematic deletion #22
@ -259,8 +259,8 @@ public class Schematic {
|
||||
}
|
||||
|
||||
public void remove(){
|
||||
SQL.update("DELETE FROM Schematic WHERE SchemOwner = " + schemOwner + " AND SchemName = '" + schemName + "'");
|
||||
SQL.update("DELETE FROM SchemMember WHERE SchemOwner = " + schemOwner + " AND SchemName = '" + schemName + "'");
|
||||
SQL.update("DELETE FROM Schematic WHERE SchemOwner = " + schemOwner + " AND SchemName = '" + schemName + "'");
|
||||
}
|
||||
|
||||
public static class WrongVersionException extends Exception{}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren