diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2019-02-27 19:33:54 +0100 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2019-02-27 19:34:53 +0100 |
commit | 6ee75fbdbaef7b3d465639060e34c48f7c275c13 (patch) | |
tree | 12eb76c0a09baf984a5dd35439c8146bbf9a750f | |
parent | c3b2a0c955ce86be76da7400d6ac70c8078610f3 (diff) | |
download | wekan-6ee75fbdbaef7b3d465639060e34c48f7c275c13.tar.gz wekan-6ee75fbdbaef7b3d465639060e34c48f7c275c13.tar.bz2 wekan-6ee75fbdbaef7b3d465639060e34c48f7c275c13.zip |
Fix templates board not found
-rw-r--r-- | models/users.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/users.js b/models/users.js index 7152d133..0dd9c1d6 100644 --- a/models/users.js +++ b/models/users.js @@ -711,7 +711,6 @@ if (Meteor.isServer) { CollectionHooks.getUserId = () => { return fakeUserId.get() || getUserId(); }; - /* if (!isSandstorm) { Users.after.insert((userId, doc) => { const fakeUser = { @@ -721,6 +720,7 @@ if (Meteor.isServer) { }; fakeUserId.withValue(doc._id, () => { + /* // Insert the Welcome Board Boards.insert({ title: TAPi18n.__('welcome-board'), @@ -737,6 +737,7 @@ if (Meteor.isServer) { Lists.insert({title: TAPi18n.__(title), boardId, sort: titleIndex}, fakeUser); }); }); + */ Boards.insert({ title: TAPi18n.__('templates'), @@ -786,7 +787,6 @@ if (Meteor.isServer) { }); }); } - */ Users.after.insert((userId, doc) => { |