Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Method no longer used.
James Coleefc9bc71a7fc
diff --git a/app/Repositories/Budget/BudgetRepository.php b/app/Repositories/Budget/BudgetRepository.phpindex c64a63f3c8..6aca1f3cbb 100644--- a/app/Repositories/Budget/BudgetRepository.php+++ b/app/Repositories/Budget/BudgetRepository.php@@ -416,28 +416,6 @@ class BudgetRepository extends ComponentRepository implements BudgetRepositoryInreturn $paginator;}- /**- * @deprecated- *- * @param Budget $budget- * @param Carbon $date- *- * @return float|null- */- public function getLimitAmountOnDate(Budget $budget, Carbon $date)- {- $repetition = LimitRepetition::leftJoin('budget_limits', 'limit_repetitions.budget_limit_id', '=', 'budget_limits.id')- ->where('limit_repetitions.startdate', $date->format('Y-m-d 00:00:00'))- ->where('budget_limits.budget_id', $budget->id)- ->first(['limit_repetitions.*']);-- if ($repetition) {- return $repetition->amount;- }-- return null;- }-/*** @param Carbon $start* @param Carbon $enddiff --git a/app/Repositories/Budget/BudgetRepositoryInterface.php b/app/Repositories/Budget/BudgetRepositoryInterface.phpindex bcc478c969..0411da4d77 100644--- a/app/Repositories/Budget/BudgetRepositoryInterface.php+++ b/app/Repositories/Budget/BudgetRepositoryInterface.php@@ -208,16 +208,6 @@ interface BudgetRepositoryInterface*/public function getJournals(Budget $budget, LimitRepetition $repetition = null, $take = 50);- /**- * @deprecated- *- * @param Budget $budget- * @param Carbon $date- *- * @return float- */- public function getLimitAmountOnDate(Budget $budget, Carbon $date);-/*** @param Carbon $start* @param Carbon $end