corubba f0e32a035d Fix deletion of comments
The compaitibility for backends that don't support comments broke the
normal deletion of comments. This is fixed by limiting the
compaitibility to when we don't know for certain whether the backend of
that zone supports comments or not. This is done by checking if the
zone currently contains any comments: If it does, the backend definitly
supports comment; if it doesn't, we don't know and have to assume it
doesn't. The check is done by the "modified_at" attribute, because this
only exists on persistent comments from pdns and not on the "fill-up"
comments that PDA adds.
Luckily this also works perfectly for the deletion case, because to
delete a comment it had to already exist previously.

Fixes #1516
2023-04-16 16:03:44 +02:00
..
2020-06-19 08:47:51 +07:00
2022-12-09 09:33:17 +08:00
2019-12-02 10:32:03 +07:00
2020-06-19 08:47:51 +07:00
2020-06-19 08:47:51 +07:00
2023-04-16 16:03:44 +02:00
2022-12-22 22:50:01 +01:00
2020-06-19 08:47:51 +07:00