diff options
author | Vitaly Takmazov | 2016-01-14 12:16:49 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-01-14 12:16:49 +0300 |
commit | c492429b25c1ef711620a4f509975c7edc3ffa4a (patch) | |
tree | 5bc6b5746381d970760cd6ae5c5561e66a1f95e7 /src/main/java/com/juick/http/www/Login.java | |
parent | 7e93e142b6dd75c22c057962447eec014c4e15b4 (diff) |
Update libraries and refactoring
Diffstat (limited to 'src/main/java/com/juick/http/www/Login.java')
-rw-r--r-- | src/main/java/com/juick/http/www/Login.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/http/www/Login.java b/src/main/java/com/juick/http/www/Login.java index a24eac2b..3e9c5e09 100644 --- a/src/main/java/com/juick/http/www/Login.java +++ b/src/main/java/com/juick/http/www/Login.java @@ -236,7 +236,7 @@ public class Login { PreparedStatement stmt = null; try { stmt = sql.prepareStatement("DELETE FROM logins WHERE user_id=?"); - stmt.setInt(1, visitor.UID); + stmt.setInt(1, visitor.getUID()); stmt.executeUpdate(); } catch (SQLException e) { System.err.println(e); |