Commit b7294306 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Reverted last modification since offline messages were already being deleted.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10720 b35dd754-fafc-0310-a699-88a17e54d16e
parent 95d8fc7a
......@@ -53,8 +53,6 @@ public class DefaultUserProvider implements UserProvider {
"DELETE FROM ofUserProp WHERE username=?";
private static final String DELETE_USER =
"DELETE FROM ofUser WHERE username=?";
private static final String DELETE_USER_OFFLINE =
"DELETE FROM ofOffline WHERE username=?";
private static final String UPDATE_NAME =
"UPDATE ofUser SET name=? WHERE username=?";
private static final String UPDATE_EMAIL =
......@@ -187,11 +185,6 @@ public class DefaultUserProvider implements UserProvider {
pstmt.setString(1, username);
pstmt.execute();
pstmt.close();
// Delete all of the user's offline messages
pstmt = con.prepareStatement(DELETE_USER_OFFLINE);
pstmt.setString(1, username);
pstmt.execute();
pstmt.close();
// Delete the actual user entry
pstmt = con.prepareStatement(DELETE_USER);
pstmt.setString(1, username);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment