Content deleted Content added
add p.isValidSensitivityReason |
add p.getSensitivityReasons |
||
Line 14:
checkType('isValidSensitivityReason', 1, s, 'string')
return sensitivityReasons[s] ~= nil
end
function p.getSensitivityReasons()
local ret = {}
for reason in pairs(sensitivityReasons) do
ret[#ret + 1] = reason
end
table.sort(ret)
return ret
end
|