diff --git a/Server/BotsScripts.js b/Server/BotsScripts.js index 675644152..19d1225ce 100644 --- a/Server/BotsScripts.js +++ b/Server/BotsScripts.js @@ -13,16 +13,14 @@ let serverConfig; let storageData; - let fileSystemData; let ecosystem; let ecosystemObject; return thisObject; - function initialize(pEcosystem, pEcosystemObject, pServerConfig, pStorageData, pFileSystemData, callBackFunction) { + function initialize(pEcosystem, pEcosystemObject, pServerConfig, pStorageData, callBackFunction) { serverConfig = pServerConfig; - fileSystemData = pFileSystemData; storageData = pStorageData; ecosystem = pEcosystem; ecosystemObject = pEcosystemObject; diff --git a/Server/CloudScripts.js b/Server/CloudScripts.js index 2d54844ce..d8554a9c8 100644 --- a/Server/CloudScripts.js +++ b/Server/CloudScripts.js @@ -13,16 +13,14 @@ let serverConfig; let storageData; - let fileSystemData; let ecosystem; let ecosystemObject; return thisObject; - function initialize(pEcosystem, pEcosystemObject, pServerConfig, pStorageData, pFileSystemData, callBackFunction) { + function initialize(pEcosystem, pEcosystemObject, pServerConfig, pStorageData, callBackFunction) { serverConfig = pServerConfig; - fileSystemData = pFileSystemData; storageData = pStorageData; ecosystem = pEcosystem; ecosystemObject = pEcosystemObject; diff --git a/server.js b/server.js index f020d50ae..b23c187fc 100644 --- a/server.js +++ b/server.js @@ -33,7 +33,6 @@ global.CUSTOM_FAIL_RESPONSE = { }; let storageData = new Map; -let fileSystemData = new Map; let HTMLCloudScripts; // This are the html script tags needed to download the cloud web scripts. @@ -58,7 +57,6 @@ function initialize() { /* Clear all cached information. */ storageData = new Map; - fileSystemData = new Map; const CONFIG_READER = require('./Server/ConfigReader'); let configReader = CONFIG_READER.newConfigReader(); @@ -81,7 +79,7 @@ function initialize() { const CLOUD_SCRIPTS = require('./Server/CloudScripts'); let cloudScripts = CLOUD_SCRIPTS.newCloudScripts(); - cloudScripts.initialize(ecosystem, ecosystemObject, serverConfig, storageData, fileSystemData, onInitialized); + cloudScripts.initialize(ecosystem, ecosystemObject, serverConfig, storageData, onInitialized); function onInitialized() { @@ -99,7 +97,7 @@ function initialize() { const BOT_SCRIPTS = require('./Server/BotsScripts'); let botScripts = BOT_SCRIPTS.newBotScripts(); - botScripts.initialize(ecosystem, ecosystemObject, serverConfig, storageData, fileSystemData, onInitialized); + botScripts.initialize(ecosystem, ecosystemObject, serverConfig, storageData, onInitialized); function onInitialized() {