mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Should fix tests.
This commit is contained in:
@@ -57,14 +57,13 @@ class Reminders
|
||||
$properties = new CacheProperties;
|
||||
|
||||
$properties->addProperty('reminders');
|
||||
$md5 = $properties->md5();
|
||||
|
||||
if (Cache::has($md5)) {
|
||||
$reminders = Cache::get($md5);
|
||||
if ($properties->has()) {
|
||||
$reminders = $properties->get();
|
||||
View::share('reminders', $reminders);
|
||||
|
||||
return $next($request);
|
||||
}
|
||||
$md5 = $properties->getMd5();
|
||||
|
||||
|
||||
$piggyBanks = $this->auth->user()->piggyBanks()->where('remind_me', 1)->get();
|
||||
|
||||
Reference in New Issue
Block a user