mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +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 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…
Reference in a new issue