Compare commits
No commits in common. "75277c5b03dafb6048c3e8d4b7a0c1a6532045a2" and "f6560a85fdeffc8b7f19ccec489c04fe65e6aa52" have entirely different histories.
75277c5b03
...
f6560a85fd
2 changed files with 5 additions and 7 deletions
|
@ -78,13 +78,11 @@ public class DatabaseRepository {
|
||||||
p.addCompletion(new Completion(0, 0));
|
p.addCompletion(new Completion(0, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hasColumn(playerResult, "name")) {
|
|
||||||
// Manage groups
|
// Manage groups
|
||||||
String groupName = playerResult.getString("name");
|
String groupName = playerResult.getString("name");
|
||||||
if (groupName != null) {
|
if (groupName != null) {
|
||||||
p.addGroup(makeGroup(playerResult));
|
p.addGroup(makeGroup(playerResult));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// ADD rank
|
// ADD rank
|
||||||
PreparedStatement completionsStmt = DatabaseQuery.GET_PLAYER_RANK.prepare(con);
|
PreparedStatement completionsStmt = DatabaseQuery.GET_PLAYER_RANK.prepare(con);
|
||||||
|
|
|
@ -41,7 +41,7 @@ public class Mail {
|
||||||
msg.addHeader("format", "flowed");
|
msg.addHeader("format", "flowed");
|
||||||
msg.addHeader("Content-Transfer-Encoding", "8bit");
|
msg.addHeader("Content-Transfer-Encoding", "8bit");
|
||||||
|
|
||||||
msg.setFrom(new InternetAddress(fromAddress, "Peer-at Code"));
|
msg.setFrom(new InternetAddress(fromAddress, "NoReply-JD"));
|
||||||
msg.setReplyTo(InternetAddress.parse(fromAddress, false));
|
msg.setReplyTo(InternetAddress.parse(fromAddress, false));
|
||||||
msg.setSubject(subject, "UTF-8");
|
msg.setSubject(subject, "UTF-8");
|
||||||
msg.setText(text, "UTF-8");
|
msg.setText(text, "UTF-8");
|
||||||
|
|
Loading…
Add table
Reference in a new issue