summaryrefslogtreecommitdiff
path: root/backend/node/src/clipperz.js
Side-by-side diff
Diffstat (limited to 'backend/node/src/clipperz.js') (more/less context) (ignore whitespace changes)
-rw-r--r--backend/node/src/clipperz.js2
1 files changed, 1 insertions, 1 deletions
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;