[Cover] Removed commented code

This commit is contained in:
Daniel 2020-11-29 17:32:30 +00:00 committed by Hugo Sales
parent fdc2bc39d0
commit 4eafcd5058
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -106,7 +106,6 @@ class Cover
// Can only get new id after inserting // Can only get new id after inserting
DB::flush(); DB::flush();
$cover = CoverEntity::create(['gsactor_id' => $actor_id, 'file_id' => $file->getId()]); $cover = CoverEntity::create(['gsactor_id' => $actor_id, 'file_id' => $file->getId()]);
//var_dump($cover);
DB::persist($cover); DB::persist($cover);
DB::flush(); DB::flush();
// Only delete files if the commit went through // Only delete files if the commit went through