remove useClsi2 flag in project collection

This commit is contained in:
Henry Oswald 2015-08-19 11:58:41 +01:00
parent a777fcc5a6
commit 63580f6a79
3 changed files with 0 additions and 3 deletions

View file

@ -19,7 +19,6 @@ module.exports =
project = new Project
owner_ref : new ObjectId(owner_id)
name : projectName
useClsi2 : true
project.rootFolder[0] = rootFolder
User.findById owner_id, "ace.spellCheckLanguage", (err, user)->
project.spellCheckLanguage = user.ace.spellCheckLanguage

View file

@ -28,7 +28,6 @@ ProjectSchema = new Schema
compiler : {type:String, default:'pdflatex'}
spellCheckLanguage : {type:String, default:'en'}
deletedByExternalDataSource : {type: Boolean, default: false}
useClsi2 : {type:Boolean, default: true}
description : {type:String, default:''}
archived : { type: Boolean }
deletedDocs : [DeletedDocSchema]

View file

@ -98,7 +98,6 @@ describe "CompileController", ->
describe "when downloading for embedding", ->
beforeEach ->
@project.useClsi2 = true
@CompileController.proxyToClsi = sinon.stub()
@CompileController.downloadPdf(@req, @res, @next)