Delete all webhooks before adding

This commit is contained in:
Alex P 2023-03-09 10:47:29 +02:00
parent 3d3fe37185
commit 4c59337247
No known key found for this signature in database
GPG key ID: 54487A734A204D71
4 changed files with 16 additions and 20 deletions

View file

@ -152,7 +152,6 @@ class WebhookModule implements ModuleInterface {
add_action(
'init',
function () use ( $registrar ) {
$registrar->unregister();
$registrar->register();
}
);