code: function (locationID) {
  
      if (l_locations.hasOwnProperty(locationID) === false) {
          LOG.error('locationID=' + locationID + ' not found.', 'delLocation');               
          return;
      }
      
      var loc_name = l_locations[locationID].ENGName;
       
      LOG.sys('delete Location: ' + locationID + '(' + loc_name + ')', 'delLocation');
  
      // check if there are still users within apps at this location
      // if so, it indicates an error
      var num_apps = Object.keys(l_locations[locationID].apps).length;
      if (num_apps > 0) 
          LOG.error(num_apps + ' apps still belong to location ['+ loc_name + ']', 'delLocation');
      
      // remove name to locationID mapping
      delete l_name2location[loc_name];
  
      // remove location object
      delete l_locations[locationID];
  }
docs: ----------------------------------------- delete a given location (when no more apps belong to a location)