Remove dead code

a4c124dff06b3cb143d58d42c73139dd0156e0e8

Kristan Schlikow <kristian@schlikow.de>

Signed
1 files changed, +0 -13Showing whitespace changes
server.js+0 -13
@@ -942,19 +942,6 @@ function logSecurityAlert(message) {
942942}
943943
944944/**
945- * Prints a warning message
946- * @param {string} message The warning message to print
947- * @returns {void}
948- */
949-function logSecurityWarning(message) {
950- if (basicAuthMode || enableWhitelist) return; // safe!
951- console.error(color.yellow(message));
952- if (getConfigValue('securityOverride', false)) {
953- console.warn(color.red('Security has been overridden. If it\'s not a trusted network, change the settings.'));
954- }
955-}
956-
957-/**
958945 * Handles the case where the server failed to start on one or both protocols.
959946 * @param {boolean} v6Failed If the server failed to start on IPv6
960947 * @param {boolean} v4Failed If the server failed to start on IPv4