summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
author蔡仲明 (Romulus Urakagi Tsai) <urakagi@gmail.com>2020-05-14 17:36:57 +0800
committerGitHub <noreply@github.com>2020-05-14 17:36:57 +0800
commitb80396f627665119cd38f11f2d466ce53ec573ab (patch)
treedb8d5f487de9356842f9cbefdbc651db2f59bd6b /server
parent0735981366047dd9ac41defe5e9fc5f9c4d7e913 (diff)
downloadwekan-b80396f627665119cd38f11f2d466ce53ec573ab.tar.gz
wekan-b80396f627665119cd38f11f2d466ce53ec573ab.tar.bz2
wekan-b80396f627665119cd38f11f2d466ce53ec573ab.zip
Purge unneeded require
Diffstat (limited to 'server')
-rw-r--r--server/migrations.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/migrations.js b/server/migrations.js
index 840ab170..bf019312 100644
--- a/server/migrations.js
+++ b/server/migrations.js
@@ -1045,7 +1045,6 @@ Migrations.add('add-sort-field-to-boards', () => {
import { MongoInternals } from 'meteor/mongo';
Migrations.add('change-attachment-library', () => {
- const http = require('http');
const fs = require('fs');
CFSAttachments.find().forEach(file => {
const bucket = new MongoInternals.NpmModule.GridFSBucket(MongoInternals.defaultRemoteCollectionDriver().mongo.db, {bucketName: 'cfs_gridfs.attachments'});