From d21898d430781387bc128f83e6f8aead1149a4e5 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sun, 29 Jun 2014 19:56:49 +0000 Subject: fix a typo in session store implementation --- diff --git a/backend/node/src/clipperz.js b/backend/node/src/clipperz.js index c51b0bc..5b4df0a 100644 --- a/backend/node/src/clipperz.js +++ b/backend/node/src/clipperz.js @@ -38,7 +38,7 @@ function clipperz_store(PG) { cb(e,e?null:r.rows[0].c); } ) }; - rv.prototype.length = function(cb) { PQ.Q( + rv.prototype.clear = function(cb) { PQ.Q( "DELETE FROM clipperz.thesession", cb ) }; rv.prototype.__proto__ = express_store.prototype; -- cgit v0.9.0.2