mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
sessions: split regex into array and regex
This commit is contained in:
parent
4daa0fe030
commit
ead251a841
1 changed files with 4 additions and 0 deletions
|
@ -41,4 +41,8 @@ module.exports = class SessionStore extends Store {
|
||||||
logger.debug(`DESTROY ${sid}`);
|
logger.debug(`DESTROY ${sid}`);
|
||||||
DB.db.remove(`sessionstorage:${sid}`, fn);
|
DB.db.remove(`sessionstorage:${sid}`, fn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
store(fn) {
|
||||||
|
Store.length(null, fn);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue