summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -37,9 +37,9 @@ function clipperz_store(PG) {
"SELECT count(*) AS c FROM clipperz.thesession", function(e,r) {
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;
return rv;