#39: Raw EXIF data is now removed when an existing photo's image is replaced
This commit is contained in:
parent
88c687a3d1
commit
dc2883db20
@ -225,6 +225,7 @@ class PhotoController extends Controller
|
||||
{
|
||||
// Photo ID provided (using the Replace Photo function) - use that record
|
||||
$photo = Photo::where('id', intval($request->get('photo_id')))->first();
|
||||
$photo->raw_exif_data = null;
|
||||
|
||||
/** @var File $savedFile */
|
||||
$savedFile = FileHelper::saveUploadedFile($photoFile, $queueFolder, $photo->storage_file_name);
|
||||
|
Loading…
Reference in New Issue
Block a user