mirror of
https://github.com/wekan/wekan.git
synced 2026-02-21 07:24:07 +01:00
merge with master
This commit is contained in:
commit
aa067b777a
412 changed files with 146535 additions and 15121 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { TAPi18n } from '/imports/i18n';
|
||||
//var nodemailer = require('nodemailer');
|
||||
|
||||
// Sandstorm context is detected using the METEOR_SETTINGS environment variable
|
||||
|
|
@ -153,7 +154,7 @@ Settings.allow({
|
|||
|
||||
if (Meteor.isServer) {
|
||||
Meteor.startup(() => {
|
||||
Settings._collection._ensureIndex({ modifiedAt: -1 });
|
||||
Settings._collection.createIndex({ modifiedAt: -1 });
|
||||
const setting = Settings.findOne({});
|
||||
if (!setting) {
|
||||
const now = new Date();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue