Adding remove Methoden
Dieser Commit ist enthalten in:
Ursprung
c945023f8c
Commit
499af7d28d
@ -130,4 +130,8 @@ public class Schematic {
|
|||||||
SchemType = schemType;
|
SchemType = schemType;
|
||||||
updateDB();
|
updateDB();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void remove(){
|
||||||
|
sql.update("DELETE FROM Schematic WHERE SchemOwner = " + SchemOwner + " AND SchemName = '" + SchemName + "'");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,4 +103,8 @@ public class SchematicMember {
|
|||||||
public int getMember() {
|
public int getMember() {
|
||||||
return Member;
|
return Member;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void remove(){
|
||||||
|
sql.update("DELETE FROM Schematic WHERE SchemOwner = " + SchemOwner + " AND SchemName = '" + SchemName + "' AND Member = '" + Member + "'");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren