mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Method no longer used.
This commit is contained in:
parent
7a4a78628d
commit
fc5b315af0
@ -416,23 +416,6 @@ class BudgetRepository extends ComponentRepository implements BudgetRepositoryIn
|
|||||||
return $paginator;
|
return $paginator;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated
|
|
||||||
*
|
|
||||||
* @param Budget $budget
|
|
||||||
*
|
|
||||||
* @return Carbon
|
|
||||||
*/
|
|
||||||
public function getLastBudgetLimitDate(Budget $budget)
|
|
||||||
{
|
|
||||||
$limit = $budget->budgetlimits()->orderBy('startdate', 'DESC')->first();
|
|
||||||
if ($limit) {
|
|
||||||
return $limit->startdate;
|
|
||||||
}
|
|
||||||
|
|
||||||
return Carbon::now()->startOfYear();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*
|
*
|
||||||
|
@ -208,15 +208,6 @@ interface BudgetRepositoryInterface
|
|||||||
*/
|
*/
|
||||||
public function getJournals(Budget $budget, LimitRepetition $repetition = null, $take = 50);
|
public function getJournals(Budget $budget, LimitRepetition $repetition = null, $take = 50);
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated
|
|
||||||
*
|
|
||||||
* @param Budget $budget
|
|
||||||
*
|
|
||||||
* @return Carbon
|
|
||||||
*/
|
|
||||||
public function getLastBudgetLimitDate(Budget $budget);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user