remove manager postfixes
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
2026-02-21 21:35:40 +01:00
parent f02bb75e4f
commit 1a4565428d
21 changed files with 37 additions and 35 deletions

View File

@@ -1,6 +1,6 @@
local _decisions = {}
function DecisionManager.register(decision)
function Decision.register(decision)
if not decision or not decision.id then
PopupWindow.show({"Error: Invalid decision object registered (missing id)!"})
return
@@ -22,10 +22,10 @@ function DecisionManager.register(decision)
_decisions[decision.id] = decision
end
function DecisionManager.get(id)
function Decision.get(id)
return _decisions[id]
end
function DecisionManager.get_all()
function Decision.get_all()
return _decisions
end