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 redNodes;
var settings;
module.exports = {
init: function(runtime) {
settings = runtime.settings;
redNodes = runtime.nodes;
log = runtime.log;
},

View File

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

View File

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

View File

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