mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
SessionStore: Use single quotes everywhere
This commit is contained in:
parent
012449101d
commit
5fb6bc1938
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ SessionStore.prototype.get = function(sid, fn) {
|
|||
SessionStore.prototype.set = function(sid, sess, fn) {
|
||||
messageLogger.debug('SET ' + sid);
|
||||
|
||||
db.set("sessionstorage:" + sid, sess);
|
||||
db.set('sessionstorage:' + sid, sess);
|
||||
if (fn) {
|
||||
process.nextTick(fn);
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ SessionStore.prototype.set = function(sid, sess, fn) {
|
|||
SessionStore.prototype.destroy = function(sid, fn) {
|
||||
messageLogger.debug('DESTROY ' + sid);
|
||||
|
||||
db.remove("sessionstorage:" + sid);
|
||||
db.remove('sessionstorage:' + sid);
|
||||
if (fn) {
|
||||
process.nextTick(fn);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue