Merge branch 'master' into jetty-8

This commit is contained in:
Simone Bordet 2012-03-19 15:14:57 +01:00
commit 3218298798
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ public class MongoSessionManager extends NoSqlSessionManager
BasicDBObject remove = new BasicDBObject(); BasicDBObject remove = new BasicDBObject();
BasicDBObject unsets = new BasicDBObject(); BasicDBObject unsets = new BasicDBObject();
unsets.put(getContextKey(),1); unsets.put(getContextKey(),1);
remove.put("$unsets",unsets); remove.put("$unset",unsets);
_sessions.update(key,remove); _sessions.update(key,remove);
return true; return true;