From 35d9da89743fed90c7a594bc97991d268dca1783 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 22 May 2018 12:42:11 +0200 Subject: [PATCH] Cleaning --- Root.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/Root.js b/Root.js index ce17ca751..890da3fd2 100644 --- a/Root.js +++ b/Root.js @@ -136,25 +136,6 @@ exports.newRoot = function newRoot() { console.log("[ERROR] Root -> initialize -> err.message = " + err.message); return; } - - - /* First thing to do is to read the config and guess which bot we will be running. */ - - var fs = require('fs'); - - try { - - let configFile = fs.readFileSync('this.config.json', 'utf8'); - global.PLATFORM_CONFIG = JSON.parse(configFile); - - } - catch (err) { - - console.log("[ERROR] Root -> start -> Error Reading the AACloud Config File."); - console.log("[ERROR] Root -> start -> err.message = " + err.message); - - return; - } } function start() {