1
0
Fork 0
forked from mirror/pixelfed

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

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