Update Image util

This commit is contained in:
Daniel Supernault 2019-02-25 12:33:47 -07:00
parent 4739c25fe0
commit e2707ba174
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 1 deletions

View File

@ -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) {
}
}