X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=perl%2FSesse%2Fpr0n%2FRotate.pm;fp=perl%2FSesse%2Fpr0n%2FRotate.pm;h=be023123373e40979cafe96bcca1bca8c01c1967;hb=56e33eea02b7f09d214b9a480d9c0533bdbd2cea;hp=9cf18d8ef69ed8f790ced723733a812366730838;hpb=25f5d33feee29c2add9ee90b6d120b8aab66f5b3;p=pr0n diff --git a/perl/Sesse/pr0n/Rotate.pm b/perl/Sesse/pr0n/Rotate.pm index 9cf18d8..be02312 100644 --- a/perl/Sesse/pr0n/Rotate.pm +++ b/perl/Sesse/pr0n/Rotate.pm @@ -50,6 +50,8 @@ sub handler { undef, $id); $dbh->do('INSERT INTO deleted_images SELECT * FROM images WHERE id=?', undef, $id); + $dbh->do('DELETE FROM exif_info WHERE image=?', + undef, $id); $dbh->do('DELETE FROM images WHERE id=?', undef, $id); };