This commit is contained in:
Kekskurse 2021-01-19 20:16:41 +01:00
parent 722107ec10
commit 4bb86d4b4d
1 changed files with 2 additions and 1 deletions

View File

@ -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";
}
}