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);
};
}
}
}
+
+ my $event = $apr->param('event');
+ $dbh->do('UPDATE events SET last_update=CURRENT_TIMESTAMP WHERE id=?', undef, $event)
+ or dberror($r, "Cache invalidation failed");
Sesse::pr0n::Common::footer($r);