From 6ac1e05e60830b1a9ba3548047dfafe1c2f32373 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 6 Jan 2018 07:42:03 +0100 Subject: [PATCH] Clear cache sooner for #1096 --- app/Support/SingleCacheProperties.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Support/SingleCacheProperties.php b/app/Support/SingleCacheProperties.php index a6be94f57c..17bddc463f 100644 --- a/app/Support/SingleCacheProperties.php +++ b/app/Support/SingleCacheProperties.php @@ -38,6 +38,7 @@ class SingleCacheProperties extends CacheProperties $this->properties = new Collection; if (auth()->check()) { $this->addProperty(auth()->user()->id); + $this->addProperty(app('preferences')->lastActivity()); } } }