Commit d8ed1d70 authored by Amadeu Andrade Barbosa Junior's avatar Amadeu Andrade Barbosa Junior
Browse files

[OPENBUS-2205] Remoção de ofertas não responsivas através do busadmin apaga

todas as ofertas existentes

git-svn-id: ae0415b3-e90b-0410-900d-d0be9363c56b
parent bac3ee00
......@@ -1371,7 +1371,7 @@ handlers["report"] = function(cmd)
local reply = string.lower(
if reply == "s" or reply == "sim" or reply == "y" or reply == "yes" then
local rem = 0
for _, offer in ipairs(offers) do
for _, offer in ipairs(invalid) do
local ok, err = pcall(offer.ref.remove, offer.ref)
if ok then
rem = rem + 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment