summaryrefslogtreecommitdiff
path: root/src/node/db/PadManager.js
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2013-03-05 13:39:53 +0000
committerJohn McLear <john@mclear.co.uk>2013-03-05 13:39:53 +0000
commitcb2d148734a797636778d92237a736b659bae474 (patch)
tree6c63f0e5c4fae215946bbd79dc898383bb8417ee /src/node/db/PadManager.js
parent7a0ad3235a5d97a4a4c0a677bd480da7bfac0721 (diff)
parent2b5cb2989c3cee71ee10955bb5ff08a253ec66af (diff)
downloadetherpad-lite-cb2d148734a797636778d92237a736b659bae474.zip
Merge branch 'release/1.2.8'
Diffstat (limited to 'src/node/db/PadManager.js')
-rw-r--r--src/node/db/PadManager.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node/db/PadManager.js b/src/node/db/PadManager.js
index 5e0af464..7d546fc7 100644
--- a/src/node/db/PadManager.js
+++ b/src/node/db/PadManager.js
@@ -146,12 +146,11 @@ exports.getPad = function(id, text, callback)
else
{
pad = new Pad(id);
-
+
//initalize the pad
pad.init(text, function(err)
{
if(ERR(err, callback)) return;
-
globalPads.set(id, pad);
callback(null, pad);
});