Move method to correct repository.

This commit is contained in:
James Cole
2019-08-30 07:45:48 +02:00
parent 6a06ab35c9
commit 4cdbea2737
5 changed files with 31 additions and 23 deletions

View File

@@ -110,18 +110,6 @@ class BudgetRepository implements BudgetRepositoryInterface
return true;
}
/**
* @param AvailableBudget $availableBudget
*/
public function destroyAvailableBudget(AvailableBudget $availableBudget): void
{
try {
$availableBudget->delete();
} catch (Exception $e) {
Log::error(sprintf('Could not delete available budget: %s', $e->getMessage()));
}
}
/**
* Destroy a budget limit.
*