Update Image util

pull/886/head
Daniel Supernault 8 years ago
parent 4739c25fe0
commit e2707ba174
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -4,7 +4,7 @@ namespace App\Util\Media;
use App\Media; use App\Media;
use Image as Intervention; use Image as Intervention;
use Storage; use Cache, Storage;
class Image class Image
{ {
@ -141,6 +141,7 @@ class Image
} }
$media->save(); $media->save();
Cache::forget('status:thumb:'.$media->status_id);
} catch (Exception $e) { } catch (Exception $e) {
} }
} }

Loading…
Cancel
Save