mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Enable cache [skip ci]
This commit is contained in:
@@ -165,7 +165,7 @@ class Journal extends Twig_Extension
|
|||||||
$cache->addProperty('transaction-journal');
|
$cache->addProperty('transaction-journal');
|
||||||
$cache->addProperty('budget-string');
|
$cache->addProperty('budget-string');
|
||||||
if ($cache->has()) {
|
if ($cache->has()) {
|
||||||
//return $cache->get();
|
return $cache->get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -240,7 +240,7 @@ class Journal extends Twig_Extension
|
|||||||
$cache->addProperty('transaction');
|
$cache->addProperty('transaction');
|
||||||
$cache->addProperty('budget-string');
|
$cache->addProperty('budget-string');
|
||||||
if ($cache->has()) {
|
if ($cache->has()) {
|
||||||
// return $cache->get();
|
return $cache->get();
|
||||||
}
|
}
|
||||||
|
|
||||||
$budgets = [];
|
$budgets = [];
|
||||||
@@ -270,7 +270,7 @@ class Journal extends Twig_Extension
|
|||||||
$cache->addProperty('transaction');
|
$cache->addProperty('transaction');
|
||||||
$cache->addProperty('category-string');
|
$cache->addProperty('category-string');
|
||||||
if ($cache->has()) {
|
if ($cache->has()) {
|
||||||
// return $cache->get();
|
return $cache->get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user