Stuff
This commit is contained in:
parent
722107ec10
commit
4bb86d4b4d
1 changed files with 2 additions and 1 deletions
|
@ -174,7 +174,8 @@ class GalleryController extends BaseController
|
|||
}
|
||||
|
||||
Storage::disk($image->driver)->delete($image->path);
|
||||
$image->delete();
|
||||
$image->deleted_at = date("Y-m-d H:i:s");
|
||||
$image->saveOrFail();
|
||||
return "OK";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue