Method no longer used.

This commit is contained in:
James Cole 2016-01-01 19:58:05 +01:00
parent 7a4a78628d
commit fc5b315af0
2 changed files with 0 additions and 26 deletions

View File

@ -416,23 +416,6 @@ class BudgetRepository extends ComponentRepository implements BudgetRepositoryIn
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
*

View File

@ -208,15 +208,6 @@ interface BudgetRepositoryInterface
*/
public function getJournals(Budget $budget, LimitRepetition $repetition = null, $take = 50);
/**
* @deprecated
*
* @param Budget $budget
*
* @return Carbon
*/
public function getLastBudgetLimitDate(Budget $budget);
/**
* @deprecated
*