From a9218e1625f7a476c64ed3a4fc998e046cdf818c Mon Sep 17 00:00:00 2001 From: shall0pass <20625555+shall0pass@users.noreply.github.com> Date: Tue, 8 Nov 2022 13:41:41 -0600 Subject: [PATCH] removed additional function --- packages/loot-core/src/server/budget/actions.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/packages/loot-core/src/server/budget/actions.js b/packages/loot-core/src/server/budget/actions.js index 1e8266d..49caa02 100644 --- a/packages/loot-core/src/server/budget/actions.js +++ b/packages/loot-core/src/server/budget/actions.js @@ -232,18 +232,6 @@ export async function holdForNextMonth({ month, amount }) { return false; } -export async function holdForFutureMonths({ startMonth, amount }) { - let months = getAllMonths(startMonth); - - await batchMessages(async () => { - for (let month of months) { - if (!(await holdForNextMonth({ month, amount }))) { - break; - } - } - }); -} - export async function resetHold({ month }) { await setBuffer(month, 0); }