summaryrefslogtreecommitdiff
path: root/src/node/db/Pad.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/db/Pad.js')
-rw-r--r--src/node/db/Pad.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/db/Pad.js b/src/node/db/Pad.js
index 73d61458..b4a39c17 100644
--- a/src/node/db/Pad.js
+++ b/src/node/db/Pad.js
@@ -5,7 +5,7 @@
var ERR = require("async-stacktrace");
var Changeset = require("ep_etherpad-lite/static/js/Changeset");
-var AttributePoolFactory = require("ep_etherpad-lite/static/js/AttributePoolFactory");
+var AttributePool = require("ep_etherpad-lite/static/js/AttributePool");
var randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString;
var db = require("./DB").db;
var async = require("async");
@@ -33,7 +33,7 @@ exports.cleanText = function (txt) {
var Pad = function Pad(id) {
this.atext = Changeset.makeAText("\n");
- this.pool = AttributePoolFactory.createAttributePool();
+ this.pool = new AttributePool();
this.head = -1;
this.chatHead = -1;
this.publicStatus = false;