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:
parent
7e416797e9
commit
d48284f7ea
@ -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;
|
||||||
},
|
},
|
||||||
|
@ -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;
|
||||||
},
|
},
|
||||||
|
@ -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();
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user