Commit 9d75aa0f authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Removed lastActiveDate field from mucRoom.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@576 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3cab3072
...@@ -72,8 +72,8 @@ public class MUCPersistenceManager { ...@@ -72,8 +72,8 @@ public class MUCPersistenceManager {
private static final String ADD_ROOM = private static final String ADD_ROOM =
"INSERT INTO mucRoom (roomID, creationDate, modificationDate, name, naturalName, " + "INSERT INTO mucRoom (roomID, creationDate, modificationDate, name, naturalName, " +
"description, canChangeSubject, maxUsers, publicRoom, moderated, invitationRequired, " + "description, canChangeSubject, maxUsers, publicRoom, moderated, invitationRequired, " +
"canInvite, password, canDiscoverJID, logEnabled, subject, rolesToBroadcast, " + "canInvite, password, canDiscoverJID, logEnabled, subject, rolesToBroadcast)" +
"lastActiveDate) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"; "VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
private static final String UPDATE_SUBJECT = private static final String UPDATE_SUBJECT =
"UPDATE mucRoom SET subject=? WHERE roomID=?"; "UPDATE mucRoom SET subject=? WHERE roomID=?";
private static final String DELETE_ROOM = private static final String DELETE_ROOM =
...@@ -311,7 +311,6 @@ public class MUCPersistenceManager { ...@@ -311,7 +311,6 @@ public class MUCPersistenceManager {
pstmt.setInt(15, (room.isLogEnabled() ? 1 : 0)); pstmt.setInt(15, (room.isLogEnabled() ? 1 : 0));
pstmt.setString(16, room.getSubject()); pstmt.setString(16, room.getSubject());
pstmt.setInt(17, marshallRolesToBroadcast(room)); pstmt.setInt(17, marshallRolesToBroadcast(room));
pstmt.setString(18, StringUtils.dateToMillis(new Date()));
pstmt.executeUpdate(); pstmt.executeUpdate();
} }
} }
......
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