Import html by default and allow basic import/export features without abiword

This commit is contained in:
Iván Eixarch 2012-11-23 22:55:25 +01:00
parent ef3231efd2
commit cc60b82a6e
3 changed files with 40 additions and 40 deletions

View file

@ -28,12 +28,6 @@ exports.expressCreateServer = function (hook_name, args, cb) {
//handle import requests
args.app.post('/p/:pad/import', function(req, res, next) {
//if abiword is disabled, skip handling this request
if(settings.abiword == null) {
next();
return;
}
hasPadAccess(req, res, function() {
importHandler.doImport(req, res, req.params.pad);
});