  def destroy_header_menu
    Log.add_info(request, params.inspect)

    return unless request.post?

    @yaml = ApplicationHelper.get_config_yaml

    unless params[:org_name].nil? or @yaml[:general]['header_menus'].nil?
      @yaml[:general]['header_menus'].each do |header_menu|
        if header_menu[0] == params[:org_name]
          @yaml[:general]['header_menus'].delete(header_menu)
          ApplicationHelper.save_config_yaml(@yaml)
          break
        end
      end
    end

    render(:partial => 'ajax_header_menu', :layout => false)
  end
The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.