From e2707ba1747a8174cb26f705046650b908ee5791 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 25 Feb 2019 12:33:47 -0700 Subject: [PATCH] Update Image util --- app/Util/Media/Image.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Util/Media/Image.php b/app/Util/Media/Image.php index 9351b8c05..06e8be9f5 100644 --- a/app/Util/Media/Image.php +++ b/app/Util/Media/Image.php @@ -4,7 +4,7 @@ namespace App\Util\Media; use App\Media; use Image as Intervention; -use Storage; +use Cache, Storage; class Image { @@ -141,6 +141,7 @@ class Image } $media->save(); + Cache::forget('status:thumb:'.$media->status_id); } catch (Exception $e) { } }