diff --git a/packages/loot-core/src/server/budget/actions.js b/packages/loot-core/src/server/budget/actions.js index 1e8266dc877a0c24b124d3cbf5d876d170d0620f..49caa02b2a822df4742716e1fe497858a3873852 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); }