Better caching.

This commit is contained in:
James Cole
2015-12-25 09:34:37 +01:00
parent 5862803434
commit 4f38b77ef6

View File

@@ -158,6 +158,7 @@ class AccountRepository implements AccountRepositoryInterface
$cache->addProperty($account->id);
$cache->addProperty($start);
$cache->addProperty($end);
$cache->addProperty('frontpage-transactions');
if ($cache->has()) {
return $cache->get(); // @codeCoverageIgnore
}