aboutsummaryrefslogtreecommitdiff
path: root/src/server/websocket.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/websocket.ts')
-rw-r--r--src/server/websocket.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/server/websocket.ts b/src/server/websocket.ts
index 0c79c1bbb..1b7f5919f 100644
--- a/src/server/websocket.ts
+++ b/src/server/websocket.ts
@@ -4,7 +4,6 @@ import { createServer, Server } from "https";
import { networkInterfaces } from "os";
import * as sio from 'socket.io';
import { Socket } from "socket.io";
-import executeImport from "../scraping/buxton/final/BuxtonImporter";
import { Utils } from "../Utils";
import { logPort } from './ActionUtilities';
import { timeMap } from "./ApiManagers/UserManager";
@@ -125,12 +124,6 @@ export namespace WebSocket {
* as an emitter and a terminator the functions that simply broadcast a result
* or indicate termination to the client via the web socket
*/
- Utils.AddServerHandler(socket, MessageStore.BeginBuxtonImport, () => {
- executeImport(
- deviceOrError => Utils.Emit(socket, MessageStore.BuxtonDocumentResult, deviceOrError),
- results => Utils.Emit(socket, MessageStore.BuxtonImportComplete, results)
- );
- });
disconnect = () => {
socket.broadcast.emit("connection_terminated", Date.now());