mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Purge unneeded require
This commit is contained in:
parent
0735981366
commit
b80396f627
1 changed files with 0 additions and 1 deletions
|
@ -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'});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue