From: Mike Taylor Date: Mon, 27 Oct 2014 09:18:54 +0000 (+0000) Subject: Remove obsolete support for log_level. X-Git-Tag: 1.0.0~105 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=c91172c010df75d4da42bf86385a03b075ca1512;p=mkws-moved-to-github.git Remove obsolete support for log_level. --- diff --git a/src/mkws-core.js b/src/mkws-core.js index ff7e475..6bb98b3 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -148,9 +148,7 @@ mkws.promotionFunction = function(name) { mkws.setMkwsConfig = function(overrides) { // Set global log_level flag early so that mkws.log() works - // Fall back to old "debug_level" setting for backwards compatibility var tmp = overrides.log_level; - if (typeof(tmp) === 'undefined') tmp = overrides.debug_level; if (typeof(tmp) !== 'undefined') mkws.log_level = tmp; var config_default = {