Remove obsolete support for log_level.
authorMike Taylor <mike@indexdata.com>
Mon, 27 Oct 2014 09:18:54 +0000 (09:18 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 27 Oct 2014 09:18:54 +0000 (09:18 +0000)
src/mkws-core.js

index ff7e475..6bb98b3 100644 (file)
@@ -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 = {