mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 08:14:10 +00:00
Update Image util
This commit is contained in:
parent
4739c25fe0
commit
e2707ba174
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue