1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Remove unused references to settings

This commit is contained in:
Nick O'Leary 2018-03-19 16:31:08 +00:00
parent 7e416797e9
commit d48284f7ea
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
4 changed files with 0 additions and 8 deletions

View File

@ -16,11 +16,9 @@
var log; var log;
var redNodes; var redNodes;
var settings;
module.exports = { module.exports = {
init: function(runtime) { init: function(runtime) {
settings = runtime.settings;
redNodes = runtime.nodes; redNodes = runtime.nodes;
log = runtime.log; log = runtime.log;
}, },

View File

@ -16,11 +16,9 @@
var log; var log;
var redNodes; var redNodes;
var settings;
module.exports = { module.exports = {
init: function(runtime) { init: function(runtime) {
settings = runtime.settings;
redNodes = runtime.nodes; redNodes = runtime.nodes;
log = runtime.log; log = runtime.log;
}, },

View File

@ -16,13 +16,11 @@
var express = require("express"); var express = require("express");
var runtime; var runtime;
var settings;
var needsPermission = require("../../auth").needsPermission; var needsPermission = require("../../auth").needsPermission;
module.exports = { module.exports = {
init: function(_runtime) { init: function(_runtime) {
runtime = _runtime; runtime = _runtime;
settings = runtime.settings;
}, },
app: function() { app: function() {
var app = express(); var app = express();

View File

@ -17,7 +17,6 @@
var express = require("express"); var express = require("express");
var os = require("os"); var os = require("os");
var runtime; var runtime;
var settings;
var needsPermission = require("../auth").needsPermission; var needsPermission = require("../auth").needsPermission;
function getUsername(userObj) { function getUsername(userObj) {
@ -31,7 +30,6 @@ function getUsername(userObj) {
module.exports = { module.exports = {
init: function(_runtime) { init: function(_runtime) {
runtime = _runtime; runtime = _runtime;
settings = runtime.settings;
}, },
app: function() { app: function() {
var app = express(); var app = express();