diff options
author | John McLear <john@mclear.co.uk> | 2014-12-27 14:08:45 +0100 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2014-12-27 14:08:45 +0100 |
commit | ae22332f71e29c014f02b801c371b31d9af3c09e (patch) | |
tree | 16994b4a51de51bdaa940bbee1fd2bfcc7e2d506 /src/node/handler | |
parent | 88ab74b1e9671eaeffc695c84b332202bb195127 (diff) | |
download | etherpad-lite-ae22332f71e29c014f02b801c371b31d9af3c09e.zip |
removing dokuwiki
Diffstat (limited to 'src/node/handler')
-rw-r--r-- | src/node/handler/ExportHandler.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/node/handler/ExportHandler.js b/src/node/handler/ExportHandler.js index 5bedcce2..bc03f532 100644 --- a/src/node/handler/ExportHandler.js +++ b/src/node/handler/ExportHandler.js @@ -21,7 +21,6 @@ var ERR = require("async-stacktrace"); var exporthtml = require("../utils/ExportHtml"); var exporttxt = require("../utils/ExportTxt"); -var exportdokuwiki = require("../utils/ExportDokuWiki"); var padManager = require("../db/PadManager"); var async = require("async"); var fs = require("fs"); @@ -129,26 +128,6 @@ exports.doExport = function(req, res, padId, type) if(err && err != "stop") ERR(err); }) } - else if(type == 'dokuwiki') - { - var randNum; - var srcFile, destFile; - - async.series([ - //render the dokuwiki document - function(callback) - { - exportdokuwiki.getPadDokuWikiDocument(padId, req.params.rev, function(err, dokuwiki) - { - res.send(dokuwiki); - callback("stop"); - }); - }, - ], function(err) - { - if(err && err != "stop") throw err; - }); - } else { var html; |