getLanguage

This commit is contained in:
GregTCLTK 2019-12-10 18:22:55 +01:00
parent 8a88b08384
commit c72ab90b82
No known key found for this signature in database
GPG key ID: A91BADE5C070FF67

View file

@ -189,4 +189,8 @@ public class Rethink {
this.update("users", user_id, "language", language); this.update("users", user_id, "language", language);
} }
public String getLanguage(String user_id) {
return (String) this.get("user", "id", user_id, "language");
}
} }